Base on http://docs.python.org/release/1.5.1p1/tut/searchPath.html
Search Path (sys.path)
A list of strings that specifies the search path for modules. Initialized from the environment variable PYTHONPATH, plus an installation-dependent default.
Its a path to search for modules in import statements.
I am wondering which path is used for search for data files (*txt files etc). For eg. If I do a fs.open(someFile), which all paths python will search for it?
Is it sys.path itself or ?
My confusion is that the docs say sys.path is a search path for modules and data files are not
modules.