Re: [Tutor] addressbook program

2008-06-28 Thread FT
Hi Alan, You said: > #DO TEXT INPUT WITH ENTRY ON NEXT LINE! > def text_Input(prompt): > print prompt > return (raw_input(">> ")) Just use: raw_input(prompt + "\n>> " ) Yes, that is OK if you are sighted, for the screen reader program does not say the message in the prompt unless t

Re: [Tutor] addressbook program

2008-06-28 Thread Alan Gauld
"FT" <[EMAIL PROTECTED]> wrote #Copying the Address Book With New Name! def copy_Book (book): save = 1 file_name2 = text_Input(" Enter Name Of File To Save Address Book:") if file_name2 == "": print "No File Saved!" save = 0 if save == 1: try: s

Re: [Tutor] addressbook program

2008-06-28 Thread Kent Johnson
On Sat, Jun 28, 2008 at 6:30 AM, Danny Laya <[EMAIL PROTECTED]> wrote: > > Hi I am making an addressBook program now, and you know ... another > error message , the program doesn't work. This is the code : > > # Loading the addressbook > filename = "addbook.dat"

Re: [Tutor] addressbook program

2008-06-28 Thread bhaaluu
Hello Danny, Part of learning to program a computer is learning how to solve problems. I copy/pasted this code directly from the email, and tried to run it, as is. Error messages in Python are very informative. See below. On Sat, Jun 28, 2008 at 3:31 AM, Danny Laya <[EMAIL PROTECTED]> wrote: > Hi

Re: [Tutor] addressbook program

2008-06-28 Thread Alan Gauld
"Danny Laya" <[EMAIL PROTECTED]> wrote Hi I am making an addressBook program now, and you know some problem, the program doesn't work. Always describe the error and, if possible, send the error text. Python error messages may seem cryptic to a beginner but they are actually very informative on