vintox
vintox

Reputation: 55

using different version of python with idle windows7-64bit

I have Python 3.2 and python 1.5.2 installed on my system (windows 7 64bit)

i can run only IDLE which installed with python version 3.2 IDLE for 1.5.2 is not compatible with 64bit systems

i need to test some code specially for version 1.5.2 how can i make IDLE to use 1.5.2 interpreter instead of 3.2

or any other way to test python 1.5.2 scripts without idle

Thanks in advance

Upvotes: 0

Views: 297

Answers (2)

jfs
jfs

Reputation: 414325

You could use Python Launcher for Windows to run easily your_python_script.py using different Python version.

Also pylauncher allows you to indicate in the script what Python version it expects (in the #!-line (shebang)) and run it automatically.

Upvotes: 1

bpgergo
bpgergo

Reputation: 16037

you can run your script with a given interpreter from command line (cmd.exe)

c:\path\to\python1.5.2\python.exe your_python_script.py

Upvotes: 1

Related Questions