Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #24440

Re: Executing Python Scripts on Mac using Python Launcher

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 <bsk16@case.edu>
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 <benjamin.kaplan@case.edu>
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 <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1494.1340653759.4697.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Mon, Jun 25, 2012 at 11:19 AM, David Thomas <dthomas86@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?

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Executing Python Scripts on Mac using Python Launcher David Thomas <dthomas86@me.com> - 2012-06-25 11:19 -0700
  Re: Executing Python Scripts on Mac using Python Launcher Benjamin Kaplan <benjamin.kaplan@case.edu> - 2012-06-25 12:49 -0700
    Re: Executing Python Scripts on Mac using Python Launcher David Thomas <dthomas86@me.com> - 2012-06-26 10:19 -0700
      Re: Executing Python Scripts on Mac using Python Launcher Dave Angel <d@davea.name> - 2012-06-26 13:37 -0400
        Re: Executing Python Scripts on Mac using Python Launcher David Thomas <dthomas86@me.com> - 2012-06-26 11:09 -0700
        Re: Executing Python Scripts on Mac using Python Launcher David Thomas <dthomas86@me.com> - 2012-06-26 11:09 -0700
        Re: Executing Python Scripts on Mac using Python Launcher Dave Angel <d@davea.name> - 2012-06-26 14:32 -0400
      Re: Executing Python Scripts on Mac using Python Launcher Benjamin Kaplan <benjamin.kaplan@case.edu> - 2012-06-26 11:56 -0700
      Re: Executing Python Scripts on Mac using Python Launcher Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-06-26 15:51 -0400
        Re: Executing Python Scripts on Mac using Python Launcher Hans Mulder <hansmu@xs4all.nl> - 2012-06-26 22:12 +0200
          Re: Executing Python Scripts on Mac using Python Launcher Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-06-26 18:35 -0400
          Re: Executing Python Scripts on Mac using Python Launcher Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-06-27 00:13 +0100
    Re: Executing Python Scripts on Mac using Python Launcher David Thomas <dthomas86@me.com> - 2012-06-26 10:19 -0700
  Re: Executing Python Scripts on Mac using Python Launcher David Thomas <dthomas86@me.com> - 2012-06-26 11:11 -0700
    Re: Executing Python Scripts on Mac using Python Launcher Hans Mulder <hansmu@xs4all.nl> - 2012-06-26 21:16 +0200
      Re: Executing Python Scripts on Mac using Python Launcher Dave Angel <d@davea.name> - 2012-06-26 16:41 -0400
        Re: Executing Python Scripts on Mac using Python Launcher Hans Mulder <hansmu@xs4all.nl> - 2012-06-26 23:48 +0200
          Re: Executing Python Scripts on Mac using Python Launcher Dave Angel <d@davea.name> - 2012-06-26 22:38 -0400
          Re: Executing Python Scripts on Mac using Python Launcher David Thomas <dthomas86@me.com> - 2012-06-27 10:05 -0700
            Re: Executing Python Scripts on Mac using Python Launcher Hans Mulder <hansmu@xs4all.nl> - 2012-06-27 20:29 +0200
              Re: Executing Python Scripts on Mac using Python Launcher David Thomas <dthomas86@me.com> - 2012-06-27 13:45 -0700
                Re: Executing Python Scripts on Mac using Python Launcher Hans Mulder <hansmu@xs4all.nl> - 2012-06-27 23:33 +0200

csiph-web