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 <module>
    for line in open(file) :
IOError: [Errno 2] No such file or directory: 'test.txt'

-------------------------------------------------------------------------

This is a non-issue on Windows, but now I have migrated to Ubuntu.

Bryan


-- 
"The game of science can accurately be described as a never-ending insult to
human intelligence." - João Magueijo
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to