On 10 май, 21:22, notbob <[EMAIL PROTECTED]> wrote:
> On 2008-05-10, Diez B. Roggisch <[EMAIL PROTECTED]> wrote:
>
> > notbob schrieb:
> >> script the same way ($ ./helloworld) and it works fine.  Same shebang, same
> >> dir, same permission, etc.
>
> > I'm pretty sure you misse the correct shebang -
>
> Sorry.  Both exactly the same.  I checked 5 times.
>
> helloworld shebang:  #!/usr/bin/python
> while shebang:       #!/usr/bin/python
>
> (above yanked from respective scripts)
>
> nb

Shebang is certainly broken, possible causes:
1. Wrong line endings (should be \n)
2. Whitespace before the shebang

-- Ivan
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to