Okay, so I have python 3.5 on my system. Whenever I open a .py
file, Idle3 starts, thus pressing F5 will instantly run my code.
However I need python 2.7 now for an assignment. In terminal I've installed 'idle' so, I can open idle and idle3 there easily.
My problem is, I can't change my .py
files' default application to idle. It only sees idle3, so I can't open my files with idle(2.7) as default.
Is there any simple workaround for that?
idle file.py
in the terminal.. – saviour123 Mar 27 '17 at 11:36python --version
into terminal I get:-bash: /usr/local/bin/python2.7: No such file or directory
, butpython2 --version
andpython3 --version
works fine. – MattSom Mar 28 '17 at 02:28