I can't open .py
files in IDLE by double-clicking them in Finder (IDLE is currently set as the default program for opening such files). Nor can I open those files by right-clicking and selecting IDLE.
If IDLE is already open I can open .py
files through the File > Open
method. Once IDLE is open I can also just double-click .py
files and they will open in IDLE. Finally, in the Terminal, I can open .py
files just fine by typing idle -e file.py
even if IDLE has not yet been opened.
I just can't open IDLE itself by double-clicking on .py
files, or by right-clicking on .py
files and selecting IDLE.
I'm using OSX 10.8.2 and Python/IDLE 2.7.3. Anyone know how I can fix this?
env PATH=/usr/bin:/bin:/usr/sbin:/sbin idle file.py
works for me, I can't check your version since I have not installed Tkinter for my Python3.3 I use. Have you installed other python than default?