Hi
I installed a different version of Python but how to choose edit with IDLE to open scripts in python 2.7 or python 3.2 on my Windows desktop?
tony75 10 Newbie Poster
Recommended Answers
Jump to PostWrite these two batch files and put a shortcut of each on your desk top:
rem save as idle27.bat rem run the IDLE IDE with Python27 C:\Python27\pythonw.exe -u C:\Python27\Lib\idlelib\idle.pyw
and
rem save as idle32.bat rem run the IDLE IDE with Python32 C:\Python32\pythonw.exe -u …
Jump to PostIf you use an IDE like Ninja, then you can switch beteeen different versions of Python by following the tabs:
Edit
Preferences
Execution
then simply edit the Python Path field.
If it shows
C:/Python32/python.exe
replace the 32 with 27
All 6 Replies
Gribouillis 1,391 Programming Explorer Team Colleague
tony75 10 Newbie Poster
fonzali 0 Light Poster
sneekula 969 Nearly a Posting Maven
sneekula 969 Nearly a Posting Maven
tony75 10 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.