how to run python script from Unix Shell?
Grant Edwards
grante at visi.com
Thu Sep 6 22:58:08 EDT 2001
More information about the Python-list mailing list
Thu Sep 6 22:58:08 EDT 2001
- Previous message (by thread): how to run python script from Unix Shell?
- Next message (by thread): how to run python script from Unix Shell?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 6 Sep 2001 19:18:16 -0700, David <davidnet800 at yahoo.com> wrote: >Hi there, > >Can you help to advise how to run python script from Unix Shell? >What I am doing is: >1)chmod +x script name >2)put #!/usr/bin/python at first line >3)when I type the script name under Shell, >the message is: >bash: Script name command not found. Try entering "./Script" at the bash prompt. Your current directory is probably not in your search path (for security reasons), so you have to tell bash explicitly that the file is in the current directory by prefixing its name with "./". -- Grant Edwards grante Yow! Bo Derek ruined at my life! visi.com
- Previous message (by thread): how to run python script from Unix Shell?
- Next message (by thread): how to run python script from Unix Shell?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list