BartlebyScrivener wrote: > Perhaps your way works also, but I have no PythonPath defined in system > variables on Windows XP. > > I keep my Python scripts and modules in d:\Python. I added d:\Python to > the Path variable and I can call and import the scripts and modules > from anywhere I please.
Python does *not* use the Path when searching for modules; sys.path is initialized based on the contents of PYTHONPATH, the location of the Python executable (or PYTHONHOME), some heuristics, and certain registry entries. there used to be a page about this on python.org, but it seems to have disappeared; here's the SVN copy: https://svn.python.org/www/trunk/pydotorg/windows/registry.ht </F> -- http://mail.python.org/mailman/listinfo/python-list