On May 6, 2006, at 12:57 PM, Jan Erik Moström wrote: > Bob Ippolito <[EMAIL PROTECTED]> 2006-05-06 21:53: > >> You need to upgrade to Universal Python, or use /usr/bin/env in your >> #! line. > > Yep, that seems to work. Can you explain why?
Universal Python replaces pythonw (and python) with a small executable that does what the old pythonw used to (execve a python interpreter that lives inside of an application bundle). That means pythonw is irrelevant as of Universal Python, because either way you start it you'll be able to run GUI stuff. The reason you can't use the old pythonw in a #! line is because it's a shell script and for whatever reason you can't use a shell script as the target for a #! line in Mac OS X. -bob _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig