Executing Python Scripts on Mac using Python Launcher

Benjamin Kaplan benjamin.kaplan at case.edu
Mon Jun 25 15:49:07 EDT 2012


On Mon, Jun 25, 2012 at 11:19 AM, David Thomas <dthomas86 at me.com> wrote:
> Hello,
> This is my first post so go easy on me.  I am just beginning to program using Python on Mac.  When I try to execute a file using Python Launcher my code seems to cause an error in terminal, when I execute the exact same piece of code and run it in windows it seems to execute as exactly intended.
>  How can I make my python script to open up correctly using Python Launcher?  I am running 10.7 on my Mac.  I would upload a photo with the error I get but I can't seem to find the upload feature in this group.
>
> Thanks
> --

You can't find the upload feature because this isn't a Google Group.
It's a Usenet newsgroup that Google Groups provides access to that's
also available as a mailing list. If you want to provide an image, use
an image host and link to the image.

As to your question, I have a few questions of my own. What version of
Python are you using? Is it the version included in Mac OS X,
installed from a python.org binary, compiled by source, or installed
through a package manager? What happens if you call the script from
the command line instead of using the Launcher application?



More information about the Python-list mailing list