I have just started to work with Python 3.4.1 which comes with ArcGIS Pro 1.0.0, on my laptop, which also has Python 2.7.8 which comes with ArcGIS 10.3 for Desktop installed, and I would like to minimize the chances of running one version of Python when I intended and needed to use the other.
In Windows Explorer, I now have two Python folders: C:\Python27 and C:\Python34 which is to be expected.
On the Windows Start Menu under All Programs > ArcGIS there is a Python 2.7 folder with the IDLE (Python GUI) that I often use to start IDLE, so starting it from here should be fine. I tested and it does start 2.7.8.
I had expected to see Python 3.4 folder next to Python 2.7 or maybe under All Programs > ArcGIS > ArcGIS Pro but it is in its own folder directly under All Programs. It contains another IDLE (Python GUI) that starts 3.4.1 as expected.
However, things become a little confusing when I look at the list of programs on the Start Menu because there are two IDLE (Python GUI) entries to choose from:
By right-clicking on each and using the General tab of their Properties I have renamed them to be called IDLE (Python GUI) 2.7 and IDLE (Python GUI) 3.4 respectively so once again there is no confusion.
The other way that I usually start IDLE is by right-clicking on a *.py file and then choosing Edit with IDLE - but the Python version of IDLE I will get is now ambiguous. By testing I find that it is 3.4.1.
Is there a way that I could turn my one choice of Edit with IDLE into these two choices?
- Edit with IDLE 2.7; and
- Edit with IDLE 3.4
I never edit with PythonWin so if I am limited to two programs that can be associated with *.py files for editing then I am happy to sacrifice Edit with PythonWin for Edit with Python 3.4.