Now what!?

Ivan Illarionov ivan.illarionov at gmail.com
Sat May 10 13:33:26 EDT 2008


On 10 май, 21:22, notbob <not... at nothome.com> wrote:
> On 2008-05-10, Diez B. Roggisch <de... at nospam.web.de> 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



More information about the Python-list mailing list