[Compiler-sig] PYTHONDIR and sys.path

Jeffrey Holle jeff.holle at verizon.net
Thu Jul 8 13:43:38 CEST 2004


I'm using python v2.3.3 on a linux box.

I've just observed something that looks wrong.

I have the PYTHONPATH environment variable defined to add an application 
  specific component to the python search path.

In printing sys.path, I notice that it gets copied to both the first and 
second elements of this list.

Why twice?



More information about the Compiler-sig mailing list