[Tutor] mac os x executable

ALAN GAULD alan.gauld at btinternet.com
Wed Jul 8 01:12:11 CEST 2009


> Yes, this makes sense to me.. but when treating a project as an artwork 
> I can't ask people to go through an effort beyond a simple start of the 
> app. For instance, I'm in Boston and the work is being show on a 
> computer in gallery in SF-- if it crashes, curators often will be 
> unenthusiastic when being told over the phone how to re-launch the 
> artwork-- it would be much easier to say, 'just double click the icon 
> labeled artwork'. 

Sure, But you can do that without creating an executable.
All you need is to drop a shortcut to the file on the desktop
and have the shebang line and chmod settings set up 
correctly as per the previous posting. You don't even 
need to have it end in .py just use the name of your 
applicatrion.

But it would be worth while spending a little time learning 
about how Mac OS X works wioth the underlying Unix 
shell and the interaction between icons on the desktop 
and the underlying files. A book like The Missing Manual 
for Mac OS X or almost any other in depth Moc OS X 
manual should explain what you need to know. 

But if you are taking the trouble to learn Python you 
really should learn the OS fundamentals too
 Alan Gauld
Author of the Learn To Program website
http://www.alan-g.me.uk/





________________________________
From: Pete Froslie <froslie at gmail.com>
To: Alan Gauld <alan.gauld at btinternet.com>
Cc: tutor at python.org
Sent: Tuesday, 7 July, 2009 10:33:10 PM
Subject: Re: [Tutor] mac os x executable



Does this make sense?

thank,
Pete F


On Tue, Jul 7, 2009 at 5:14 PM, Alan Gauld <alan.gauld at btinternet.com> wrote:


"Pete Froslie" <froslie at gmail.com> wrote



I'm having trouble finding good tutorials on creating standalone executable
files for mac os x.. I've been looking at 'py2app', but can't seem get a
solid grasp. Any help would be greatly appreciated!


My first question would be do you need to? After all with Python 2.3 pre
installed on MacOS X can't you just distribute the python files?

Just a thought.,

Alan G 


_______________________________________________
Tutor maillist  -  Tutor at python.org
http://mail.python.org/mailman/listinfo/tutor



-- 
Pete Froslie
617.314.0957
http://www.froslie.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090707/f7d156a3/attachment.htm>


More information about the Tutor mailing list