[Tutor] mac os x executable

Pete Froslie froslie at gmail.com
Tue Jul 7 19:40:23 CEST 2009

Thanks Bill,

Terminal tells me, 'chmod: app_test.py: No such file or directory'

I assume that's what you meant to do? Drop this at the start of the script:

#!/usr/bin/env python

Then go into terminal and type:

`chmod +x mypython.py''

--pretty new to some of this stuff.


On Tue, Jul 7, 2009 at 12:54 PM, Bill Campbell <bill at celestial.net> wrote:

> On Tue, Jul 07, 2009, Pete Froslie wrote:
> >Hi,
> >
> >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!
> For a python script, say mypython.py, it should start with
> something like this:
> #!/usr/bin/env python
> # do stuff here
> Then ``chmod +x mypython.py'' and it's ready to go.
> Bill
> --
> INTERNET:   bill at celestial.com  Bill Campbell; Celestial Software LLC
> URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
> Voice:          (206) 236-1676  Mercer Island, WA 98040-0820
> Fax:            (206) 232-9186  Skype: jwccsllc (206) 855-5792
> There has been no greater threat to life, liberty, and property
> throughout the ages than government. Even the most violent and brutal
> private individuals have been able to inflict only a mere fraction of
> the harm and destruction that have been caused by the use of power by
> political authorities. -- Richard Ebeling
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor

Pete Froslie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090707/8094752e/attachment.htm>

More information about the Tutor mailing list