How is the python path build ?

llothar llothar at web.de
Tue Oct 25 18:22:37 CEST 2005


Hello,

i must add my own python.exe and a little patched runtime library with
my product.

How can i setup the python path, so that the directories are not taken
from the registry values for Python2.4 but something relative to my own
python.exe ?

With PYTHONPATH i can only add new items in front of sys.path but i
want start with a clean sys.path without any pre added directories.




More information about the Python-list mailing list