views:

28

answers:

0

Hi there, I have a third party program that I use for remotely calling my own application and uses python 2.4. My Application is written with python 2.6. So this is the call hierarchy:

3rd party app -> calling my app by Python24 -> my app

Now when calling my application via "C:\Python26\python.exe " contains a python26.zip file and all pythonpath entries of the python 2.4 installation. Something like:

[startDir, python26.zip, <python24 Lib DLL etc.>]

How are the python 2.4 entries handed to the new pythonpath? Shortly before calling my application i printed the pythonpath on the commandline which was empty. Do you guys know any references explaning the creation of the pythonpath when calling the interpreter directly?

Thanks in advance!