Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #24490
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| Subject | Re: Executing Python Scripts on Mac using Python Launcher |
| Date | 2012-06-26 18:35 -0400 |
| Organization | > Bestiaria Support Staff < |
| References | <8b352333-23b5-4cfb-843d-29ffe1ef0905@googlegroups.com> <mailman.1494.1340653759.4697.python-list@python.org> <347d6190-1bfc-4117-85ff-4abaa0966710@googlegroups.com> <mailman.1526.1340740315.4697.python-list@python.org> <4fea17c6$0$6940$e4fe514c@news2.news.xs4all.nl> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1533.1340751059.4697.python-list@python.org> (permalink) |
On Tue, 26 Jun 2012 22:12:54 +0200, Hans Mulder <hansmu@xs4all.nl>
declaimed the following in gmane.comp.python.general:
> On 26/06/12 21:51:41, Dennis Lee Bieber wrote:
> > On Tue, 26 Jun 2012 10:19:45 -0700 (PDT), David Thomas
> > <dthomas86@me.com> declaimed the following in gmane.comp.python.general:
> >
> >
> >> http://www.freeimagehosting.net/ilbqt
> >
> > That's an interesting configuration...
> >
> > "pythonw.exe" is a version of the Python interpreter designed to NOT
> > OPEN a console -- so you've got a configuration saying "open a console
> > to run a no-console interpreter".
>
> That's on Windows; on the Mac python and pythonw are identical.
> In fact, they're hard links to the same file.
Okay, but...
It may still be cleaner (to non-Mac users) if the execution
preferences still kept the "use terminal" to the python.exe, and left
"pythonw.exe" to "no terminal" applications <G>
Even if the same executable is used in the end...
>
> You may want to check "allow #! to override", though.
>
> I mean, if there is a #! in a file pointing to a specific version of
> python, then it's probably there for a reason. For example, the script
> might use a third party module installed only in that Python install.
>
While I knew what that option meant, I didn't mention it myself as
the OP probably (based on the nature of the questions) wouldn't
understand the meaning... (And, on Windows at least, #! lines don't do
anything <G>)
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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