where is sys.path initialized?

Alex lidenalex at yahoo.se
Fri Sep 9 20:12:16 CEST 2005

Rossum's tutorial states
"Actually, modules are searched in the list of directories given by the
variable sys.path which is initialized from the directory containing
the input script (or the current directory)"

I'm running Python standard installation (ver 2.4) on Windows XP. Where
can I find the "input script" where the sys.path is defined?


More information about the Python-list mailing list