Running python on unix

Mark McEahern mark at markmceahern.com
Fri Mar 28 17:11:15 EST 2003


[kpatrick1979]
> I am a brand new user learning python for a programming languages
> class.  I am trying to use the practice tutorial to mimic the
> following if-statement exercise:

[snip]

Put that stuff in a file with:

  #!/usr/bin/env python

at the top, chmod +x the file, then run it.

// m





More information about the Python-list mailing list