On Fri, Jan 24, 2014 at 04:22:20AM -0500, Keith Winston wrote: > The file would appear to not be on your search path, that is, in any > directory in which Python is expecting to find it.
Python does not use a search path for the open() function, only for imports. With open(), it uses a simple rule: - absolute paths will look only in that exact location; - relative paths are always relative to the current working directory. Do you know the difference between absolute and relative paths? -- Steven _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor