Note that there are some explanatory texts on larger screens.

plurals
  1. PO.py files not opening in IDLE from OSX Finder?
    text
    copied!<p>I recently re-installed Python 2.7.3 from python.org on OSX 10.8.2, and now nothing (literally nothing I can see) happens when I double-click on .py files in Finder, or when I right-click/Open-With/IDLE(2.7.3). (<strong>Edit:</strong> IDLE is already set as the default program to open .py files; the "right-click" part was just to illustrate I couldn't open them either way.)</p> <p>I have Tcl/Tk 8.5.13 installed (re-installed after I re-installed Python), and I can open IDLE itself just fine, so this isn't that issue where IDLE won't work without the right version of Tcl/Tk. I can also open .py files from the Terminal using <code>idle -e file.py</code> without a problem.</p> <p>I did notice that the Python Launcher activates when I open files this way, and is absent when I double-click on .py files in Finder (although again, literally nothing happens when I do this--I have the IDLE icon in my dock and it doesn't start bouncing or anything). Could this be a Python Launcher problem? If not, does anyone know what's going on here?</p> <p><strong>Update:</strong> I tried opening IDLE first and then double-clicking on .py files, and that works. So it seems it's just an issue of IDLE not being opened when you try to open a .py file in the Finder. </p> <p>I know that means I now have at least three other ways of opening my .py files in IDLE, but I really like just being able to navigate to a file in Finder and open it when IDLE itself is not yet open. So I'd still really like to solve this problem if possible (also I really hate when stuff that's just supposed to work doesn't).</p> <p><strong>Update:</strong> Per Ned Deily's suggestion I checked for errors using Console.app and found:</p> <pre><code>3/8/13 10:42:38.006 AM com.apple.launchd.peruser.501[276]: ([0x0-0x199199].org.python.IDLE[1975]) Exited with code: 1 </code></pre> <p>pops up whenever I try to double-click a <code>.py</code> file in Finder.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload