I have two versions of Python installed on Windows XP. 2.6.5 and 2.7.2. Because of certain modules in use with each, I need to invoke either one or the other within my python scripts. I have various scripts.py on my desktop that I run by double clicking. The scripts always run 2.6.5, which causes the 2.7.2 scripts to fail. I have some scripts for each. I want to invoke the particular version I need WITHIN the script itself.
What is the syntax (using #! shebang or something similar in Windows XP) to specify this. I've tried, for instance...
...and countless others you'd likely be glad I didn't past in here. (yes, the python.exe I want to implement is in this directory: C:/OSGeo4W/bin/python.exe)