[Pythonmac-SIG] I don't understand

2006-05-06 Thread Jan Erik Moström
I was playing with appscript and created a script and everything worked just fine when I ran it from within BBEdit. Then I moved it to its proper place and tried to use it from the command line, didn't work, it didn't understand the "import" command (unknown command). I started to cut down on the

Re: [Pythonmac-SIG] I don't understand

2006-05-06 Thread Bob Ippolito
On May 6, 2006, at 12:35 PM, Jan Erik Moström wrote: > I was playing with appscript and created a script and everything > worked just > fine when I ran it from within BBEdit. Then I moved it to its > proper place > and tried to use it from the command line, didn't work, it didn't > understan

Re: [Pythonmac-SIG] I don't understand

2006-05-06 Thread Jan Erik Moström
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? jem -- Jan Erik Moström, www.mostrom.pp.se ___ Pyt

Re: [Pythonmac-SIG] I don't understand

2006-05-06 Thread Jan Erik Moström
Bob Ippolito <[EMAIL PROTECTED]> 2006-05-06 21:53: > You need to upgrade to Universal Python, or use /usr/bin/env in your > #! line. I mean the search path seems OK etc jem -- Jan Erik Moström, www.mostrom.pp.se ___ Pythonmac-SIG maillis

Re: [Pythonmac-SIG] I don't understand

2006-05-06 Thread Bob Ippolito
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