2 Newbie questions.

Wolfram Kraus kraus at hagen-partner.de
Thu Oct 7 08:48:19 CEST 2004

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.
Your current directory is not in your PATH environment variable, so you
have to call it with ./mypython.py or set your PATH. BTW your prompt 
looks like you are user "root", don't do that, login as a normal user!

> Second, I am looking for a good online tutorial for some one who
> knows other programming languages assembler, cobol, etc any
> suggestions.

> Thanks Len Sumnler, Jr


More information about the Python-list mailing list