Re: [Tutor] upper and lower case input for file name

2007-12-15 Thread Tiger12506
> "earlylight publishing" <[EMAIL PROTECTED]> wrote > >>I don't know if this'll help or not but I just learned about this: >> >> file = raw_input(info).lower > > file = raw_input(prompt).lower() # note the parens! > >> The .lower is supposed to convert any input to lower case. > > It will ind

Re: [Tutor] upper and lower case input for file name

2007-12-15 Thread Alan Gauld
"earlylight publishing" <[EMAIL PROTECTED]> wrote >I don't know if this'll help or not but I just learned about this: > > file = raw_input(info).lower file = raw_input(prompt).lower() # note the parens! > The .lower is supposed to convert any input to lower case. It will indeed. Th

Re: [Tutor] upper and lower case input for file name

2007-12-15 Thread earlylight publishing
t; <[EMAIL PROTECTED]> Subject: [Tutor] upper and lower case input for file name To: tutor-python Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="iso-8859-1" Is there an easy way that an input can be upper or lower c

Re: [Tutor] upper and lower case input for file name

2007-12-14 Thread Kent Johnson
Bryan Fodness wrote: > > Is there an easy way that an input can be upper or lower case? > > The file name is TEST.TXT, and I get. > > - > > Enter File (if not local, enter path):test.txt > > Traceback (most recent call

[Tutor] upper and lower case input for file name

2007-12-14 Thread Bryan Fodness
Is there an easy way that an input can be upper or lower case? The file name is TEST.TXT, and I get. - Enter File (if not local, enter path):test.txt Traceback (most recent call last): File "test.py", line 52, in