"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. There is also an upper() if you want to make it 
uppercase instead.


-- 
Alan Gauld
Author of the Learn to Program web site
http://www.freenetpages.co.uk/hp/alan.gauld


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to