Re: 2 Newbie questions.

From: Nick Craig-Wood (nick_at_craig-wood.com)
Date: 10/07/04

  • Next message: Brian van den Broek: "webserverless Python Wiki Engines: do they exists?"
    Date: 07 Oct 2004 07:30:11 GMT
    
    

    Len Sumnler <pcslen@comcast.net> wrote:
    > 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.

    The current directory isn't in your PATH. I don't suggest you add it
    - its not there for good security reasons. Instead invoke your
    program like this...

    ./mypython.py

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

    I've recently finished (the book version) of
    http://www.diveintopython.org/ - excellent for experienced
    programmers!

    -- 
    Nick Craig-Wood <nick@craig-wood.com> -- http://www.craig-wood.com/nick
    

  • Next message: Brian van den Broek: "webserverless Python Wiki Engines: do they exists?"