PYTHONPATH or any other way to set seachpath (winXP) ?

Gabriel Genellina gagsl-py at yahoo.com.ar
Mon Feb 5 18:38:34 EST 2007


En Sat, 03 Feb 2007 14:25:31 -0300, Stef Mientki  
<S.Mientki-nospam at mailbox.kun.nl> escribió:

> Is it possible to change the searchpath for modules on the flight,
> under winXP ?
> Most preferred is some command to extend the searchpath.
> (the environment variable PYTHONPATH needs a reboot)

PYTHONPATH is used to build the initial contents of sys.path, which is the  
actual list of directories searched. It's a standard list object so you  
can modify it easily.

-- 
Gabriel Genellina




More information about the Python-list mailing list