Re: [Tutor] strategy in dealing with user input

2007-09-29 Thread Alan Gauld
"Robert Jackson" <[EMAIL PROTECTED]> wrote >I have a few lines of code as follows: > > CONFIGFILE = raw_input("Enter config location: ") >while CONFIGFILE == "": > CONFIGFILE = raw_input("You must enter configuration file > location: ") All uppercasse is usually used to indicate a co

Re: [Tutor] strategy in dealing with user input

2007-09-29 Thread Kent Johnson
Robert Jackson wrote: > I have a few lines of code as follows: > > CONFIGFILE = raw_input("Enter config location: ") > while CONFIGFILE == "": > CONFIGFILE = raw_input("You must enter configuration file location: > ") > > Let's say the user hits enter past the initial raw_input requ