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
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to