[Baypiggies] Newbie: Python on Mac

Tony Cappellini tony at tcapp.com
Tue Mar 1 07:50:31 CET 2011


James-

I want to be able to launch gui programs that end in .pyw,
instead of opening the source file in Idle.

How do I de-associate .py & .pyw files so they execute in a console or a gui
(respectively),
by double-clicking on them in Finder?

Running a .pyw file from a bash prompt launches the gui just fine, so I
just need to be able change the way the double-click works.

thanks

On Mon, Feb 28, 2011 at 10:45 PM, James Tatum <jtatum at gmail.com> wrote:

> Simple answer: Upgrade your OS :) 10.6 comes with 2.6.1. If you can
> get your hands on 10.7, it's got 2.6.6 and 2.7.1. Think Python doesn't
> really say what it needs but based on the publication date 2.6 should
> be fine. What OS are you running? I don't recall any of them shipping
> 2.4.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/baypiggies/attachments/20110228/286f9267/attachment.html>


More information about the Baypiggies mailing list