Cappy2112 wrote:
Do you really think this is a safe solution?

Not sure which of the three solutions I mentioned you are referring to as "this".

How do you deal with features that are in new 2.4, but you invoke it
with the exe from 2.3?

If you want to have the script run with both Python 2.3 and 2.4, you should avoid using features new in 2.4. Alternatively, you can check for the presence of the feature, and fall back gracefully if the feature is missing.

The imports have to be handled as well, and the dlls, and the libs too

Yes. Using different interpreter binaries (i.e. \python23\python.exe vs. \python24\python.exe) will automatically take care of this. Each interpreter binary will safely have its own Python path, use its own dlls, and its own libs.

Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to