main logo
Subject: Re: [dabo-dev] dabodemo Commit 273
Author: Paul McNett

Posted: 2005/08/31 13:24:51
 
View Entire Thread
New Search


Ed Leafe wrote:
> On Aug 31, 2005, at 11:58 AM, Paul McNett wrote:
>
>> It is only for Linux. Mac/Windows don't need the line. Windows uses
>> the file extension and ignores shebang. Mac needs to run with pythonw
>> as you state so neither the extension nor the shebang will help
>> there, but on Mac we are going to need to figure out how to properly
>> package stuff to do it the "Mac Way" anyway.
>
>
> If you change the shebang to 'pythonw', it works fine from a
> terminal window. Oherwise, you need some sort of .app to associate it
> with.

And on Linux, pythonw doesn't even appear to exist. I never liked
shebang lines for precisely these reasons. I guess on Mac you could st
an alias "python" to map to "pythonw", but that may not always be what
you want.

--
Paul McNett
http://paulmcnett.com
http://dabodev.com



 
©2005 Paul McNett
<-- Prior Message New Search Next Message -->