Help: Python + Linux....Getting Started...
David M. Cook
davecook at nowhere.net
Wed May 28 01:58:47 EDT 2003
In article <90cdce37.0305272117.5c43cf76 at posting.google.com>, entropy123 wrote:
> I've been using perl for about 6 weeks and am used to chmod a+x *.pl
> to get a program up and running. How do I do an equivalent task for a
> "hello world" python program?
Just make sure you have the pound-bang hack at the top of your script:
#!/usr/bin/env python
and then do as above for your python script:
chmod a+x foo.py
Dave Cook
More information about the Python-list
mailing list