Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!204.52.135.9.MISMATCH!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.023 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'source,': 0.04; 'subject:Python': 0.05; 'python': 0.10; '11:19': 0.16; 'binary,': 0.16; 'intended.': 0.16; 'subject:using': 0.16; 'usenet': 0.16; '\xc2\xa0i': 0.16; 'mon,': 0.16; 'wrote:': 0.17; 'windows': 0.20; 'own.': 0.22; 'header:In-Reply-To:1': 0.23; 'installed': 0.25; 'command': 0.26; 'host': 0.26; 'message-id:@mail.gmail.com': 0.27; 'post': 0.27; 'seems': 0.28; 'error': 0.28; 'script': 0.28; 'image,': 0.29; 'piece': 0.29; 'run': 0.29; 'included': 0.30; 'am,': 0.30; 'compiled': 0.30; 'code': 0.31; 'feature': 0.32; 'list.': 0.33; 'running': 0.34; 'file': 0.34; 'open': 0.34; "can't": 0.34; 'received:google.com': 0.34; 'thanks': 0.35; 'python.org': 0.35; 'received:209.85': 0.35; 'question,': 0.35; 'to:addr:python-list': 0.35; 'version': 0.35; 'beginning': 0.36; 'mac': 0.36; 'but': 0.36; 'google': 0.37; 'subject:: ': 0.37; 'received:209': 0.37; 'mailing': 0.38; 'to:addr:python.org': 0.39; 'hello,': 0.39; 'easy': 0.60; 'link': 0.61; 'provide': 0.62; 'first': 0.62; 'cause': 0.64; 'photo': 0.79; 'application?': 0.84; 'mac.': 0.84 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding:x-gm-message-state; bh=sDbf/7AwL1BJJtJSZrdSycP+AeSKP4vfovVNItJIwkE=; b=nAkUbnbillPVFcdtrMhd2Tis01fXnw+W7NMPSpsAZOujQT25JSnkEdzKSBt+sjWSB5 lI6n4CDsWYUhpBPsPBAzQlS4zLRDr+eUUzMUDNHO4UJpaWC4Fnp3fp3uJx+nTNFB/2kE s08R2a3BUEpcEA99TcdbMcphdIT9drftEIKoWCAHwbWhWiRaLHCw98UulsYtHDl66X9s FehlZ+uCY+TIcthFnIXGkvMhS4Krnj+GjtqNgrkV2DRTgVk+RncPMhM9VlIIjlBrLNrc pqA7iOvDK+hqqwalqbLLIXwvMDKVLjEwMbYbVo7f9rJkLnIIl+UOkE3u2cWFL+wA8w4s XjTg== MIME-Version: 1.0 In-Reply-To: <8b352333-23b5-4cfb-843d-29ffe1ef0905@googlegroups.com> References: <8b352333-23b5-4cfb-843d-29ffe1ef0905@googlegroups.com> Date: Mon, 25 Jun 2012 12:49:07 -0700 Subject: Re: Executing Python Scripts on Mac using Python Launcher From: Benjamin Kaplan To: python-list@python.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQm1NJRNvw1tjMV54HwnxALw0/QUyt/Vi4IeInKUFDbmWcd3KYsEh5CRBGgfXVfHRYHdxP9J X-Junkmail-Whitelist: YES (by domain whitelist at mpv2.tis.cwru.edu) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 25 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1340653763 news.xs4all.nl 6853 [2001:888:2000:d::a6]:43542 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:24440 On Mon, Jun 25, 2012 at 11:19 AM, David Thomas wrote: > Hello, > This is my first post so go easy on me. =C2=A0I am just beginning to prog= ram using Python on Mac. =C2=A0When I try to execute a file using Python La= uncher my code seems to cause an error in terminal, when I execute the exac= t same piece of code and run it in windows it seems to execute as exactly i= ntended. > =C2=A0How can I make my python script to open up correctly using Python L= auncher? =C2=A0I am running 10.7 on my Mac. =C2=A0I would upload a photo wi= th the error I get but I can't seem to find the upload feature in this grou= p. > > 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?