[Tutor] an executable for Macs

John Precedo johnp@reportlab.com
Fri, 4 May 2001 20:02:19 +0100


> Hi,

Howdy!

> I've written a little script for statistical analysis of tree phylogeny
> data....I need to convert the script to an executable....Do I need
> something special for Macs?

If you can get your hands on a Mac equipped with Python, it comes with a
utility called 'Build Application'. It should be in the same folder as the
main Python Interpretor and Python IDE programs.

Copy your script file onto the Mac, drop it onto the 'build application'
icon and voila! Short period while a window pops up, loads of text churns
out and you see another icon on your desktop - your new application.

One caveat - I have no idea how well this works for serious scripts. The
only times I have used it are on simple stuff not much more complex than
'hello world'. Another caveat - my Mac stays at home while I have to go out
to work, so this has been from memory.

Hope this helps.

John

--
John Precedo   (johnp@reportlab.com)       Junior Developer
Reportlab, Inc (http://www.reportlab.com)