Hi Adam, Ah; I've seen this before. Make sure the file name is either relative to current working directory, or make the file name absolute. What's happening is that os.listdir() is giving you file names that are relative to the base directory you've passed it, but open() doesn't know about the base directory.
You can use os.path.join() to create such paths: https://docs.python.org/2/library/os.path.html#os.path.join _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor