You know, instead of that long or thing you've set up, you could do this. if select in [ 'l', 'v', 'V' ]:
> [quote] > if select == '1' or select == 'v' or select == 'V': > if file_in_disk in os.listdir('/home/jerimed'): # change??? > fhandle = open(file_in_disk, 'r') # read mode > cPickle.load(fhandle) # restore saved data > fhandle.close() > show_contacts() > elif len(data_holder) > 0: > show_contacts() > else: > is_empty() > [/quote] I'd swear that your standard disclaimer changes weekly. : ) Happy Holidays, Jacob > Standard disclaimer - > > There's probably an easier way to do it, and a more elegant way. Which > someone will post shortly. > > Cheers, > > Liam Clarke _______________________________________________ Tutor maillist - [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/tutor