So I've done quite a bit more work. With phone_book.py the user can not only access phone numbers by the person's initials, but can add items to the data file. I've also solved the problem of adding a person who's initials have already been used in a key.
I've pasted phone_book_for_pasting.py at <http://pastebin.com/2wm4Vf1P>. I'd appreciate any comments, instructive criticism, etc. Some have suggested using the shelve module. I looked at it but couldn't see in detail how to use it. If someone could write a short demo script, or send me to one that pretty much does what my phone_book.py does, that would be terrific. Dick Moores _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor