Help: Python + Linux....Getting Started...

Ian Bicking ianb at colorstudy.com
Wed May 28 01:54:52 EDT 2003


On Wed, 2003-05-28 at 00:17, entropy123 wrote:
> Hey all,
> 
> 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?

chmod +x script.py

The .py extension isn't necessary, but it is necessary to start the file
with this line:

#!/usr/bin/env python

  Ian







More information about the Python-list mailing list