Alternatives to PythonPath

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Tue May 31 23:54:08 EDT 2011


En Sun, 29 May 2011 18:49:28 -0300, ray <ray at aarden.us> escribió:

> I am using Win7 on a tightly locked down desktop.
>
> Is there an alternative to using PythonPath?
>
> What are the trade-offs?

Usually there is no need to define the PYTHONPATH variable; I never use it.
There is a per-user site-packages directory (2.6 and up), on Windows it is  
located at %APPDATA%\Python\PythonXX\site-packages. Every user gets its  
own %APPDATA% directory, with read and write permissions.

-- 
Gabriel Genellina




More information about the Python-list mailing list