[Tutor] First line of a python program

Markus Flatscher markus.flatscher at virginia.edu
Tue Oct 13 00:54:46 CEST 2009

The short answer is, it's a shebang: http://en.wikipedia.org/wiki/Shebang_(Unix)

Let us know if this clarifies anything.


On Mon, 12 Oct 2009 14:49:34 -0700
 "Katt" <the_only_katala at verizon.net> wrote:
>Hello all,
>Numerous times I see the following as the first line of a python program:
>#! /usr/bin/python
>What is this for or do for the program?
>Thanks in advance,
>Tutor maillist  -  Tutor at python.org
>To unsubscribe or change subscription options:

Markus Flatscher, Project Editor
ROTUNDA, The University of Virginia Press
PO Box 801079, Charlottesville, VA 22904-4318 USA
Courier: 310 Old Ivy Way, Suite 302, Charlottesville VA 22903
Email: markus.flatscher at virginia.edu

More information about the Tutor mailing list