ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pythonmac-sig
pythonmac-sig
Re: [Pythonmac-SIG] Mac OS 10.3.5 and tkinter.
by Jack Jansen other posts by this author
Nov 30 2004 8:46PM messages near this date
No More Pain | Re: [Pythonmac-SIG] python 2.3.4 on Mac OS X 10.3.6 is working - upgraded standard installation
On 26-nov-04, at 23:16, Robert Kern wrote:
>  /usr/bin/pythonw is a shell script, so it can't be directly called by 
>  the #! (it will try to interpret hello.py as a shell script, too, not 
>  a Python script; thus the syntax errors).
> 
>  Use
> 
>  #!/usr/bin/env /usr/bin/pythonw

Ah, that's a much nicer workaround than the one I always suggested 
(using the path to the interpreter deep in the framework). I've taken 
the liberty to add it to the FAQ.

Thanks,
--
Jack Jansen, <Jack.Jansen@[...].nl> , http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma 
Goldman

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@[...].org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved