sys.path issue in cygwin
Gabriel Genellina
gagsl-py at yahoo.com.ar
Wed Jan 24 12:37:18 EST 2007
At Wednesday 24/1/2007 04:58, Wang Shuhao wrote:
>To keep the question simple, I've set PATH= in cygwin.bat to avoid
>python initialze sys.path from Windows' PATH environment.
The simple answer is that sys.path has nothing to do with the PATH
environment variable.
sys.path is initialized from the location of the Python executable;
PYTHONPATH can be used to prepend additional directories. You might
set PYTHONHOME too, but for a standard installation its not needed -
mainly for embedded interpreters where the running application is not
python itself.
--
Gabriel Genellina
Softlab SRL
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya!
http://www.yahoo.com.ar/respuestas
More information about the Python-list
mailing list