I have both python 2.7 and 3.2 installed on my system. I want some scripts to run using python 3.2, and some using 2.7 However, I don't want to go to IDLE every time to run scripts. Can anything be done such that the scripts execute themselves in the version specified?
I have tried some experimentation with sys and os modules, but that turned out to be useless.