Importing Modules in Python
Members - Reputation: 1062
Posted 14 March 2011 - 09:05 PM
From the python module docs
When a module named spam is imported, the interpreter searches for a file named spam.py in the current directory, and then in the list of directories specified by the environment variable PYTHONPATH. This has the same syntax as the shell variable PATH, that is, a list of directory names.