[Pythonmac-SIG] #! line and simple dialogs

Nathaniel Gray n8gray at gmail.com
Fri Oct 1 21:51:53 CEST 2004


Hello MacPythons,

I'm having trouble getting my python scripts to launch from the
command line under OS X 10.3.  The usual #! lines don't work as I
expect.  Neither '#!/usr/bin/pythonw' nor '#!/usr/bin/python' work --
they are ignored and the script is treated as a bash script.  OTOH,
'#!/usr/bin/env python' does work, but I want to be assured of getting
the system python version instead of, for example, the Fink version. 
Any ideas what's going wrong?

Also, I'd like a simple way to put up dialogs.  EasyDialogs would be
perfect but the 255 character limit on the message length is *way* too
short.  It's also annoying that the resulting dialogs are not keyboard
navigable, but that's less important of an issue.  Is there anything
similar that allows larger messages?

Cheers,
-n8

-- 
>>>-- Nathaniel Gray -- Caltech Computer Science ------>
>>>-- Mojave Project -- http://mojave.cs.caltech.edu -->


More information about the Pythonmac-SIG mailing list