2 Newbie questions.
Andreas Kostyrka
andreas at kostyrka.org
Thu Oct 7 03:30:31 EDT 2004
On Thu, Oct 07, 2004 at 05:19:47AM +0000, Len Sumnler wrote:
> Hi All
>
> I am running SuSe Linux ver. 9.0. I have written the famous "Hello
> World" program and want to run it as an executable. I have searched the
> net and performed chmod +x mypython.py and added as the first line of my
> program #!/usr/bin/env python. When I try to run the program as follows
> $ mypython.py I get the error message of,
> "bash: mypython.py: command not found". What am i doing wrong.
Try: ./mypython.py
And if that works, type: echo $PATH
Andreas
More information about the Python-list
mailing list