The short answer is, it's a shebang: http://en.wikipedia.org/wiki/Shebang_(Unix)
Let us know if this clarifies anything.
M.
On Mon, 12 Oct 2009 14:49:34 -0700
"Katt" wrote:
>Hello all,
>
>Numerous times I see the following as the first line of a python program:
>
>#! /usr/bin/python
>
>What is
On Mon, Oct 12, 2009 at 02:49:34PM -0700, Katt wrote:
> Hello all,
>
> Numerous times I see the following as the first line of a python program:
>
> #! /usr/bin/python
As far as Python is concerned, it is a comment.
Anything from the # character to the end of the line is a comment.
If you want
>From http://en.wikipedia.org/wiki/Shebang_(Unix):
In computing, a shebang (also called a hashbang, hashpling, pound bang,
or crunchbang) refers to the characters "#!" when they are the first two
characters in a text file. In a Unix-like operating system, the program
loader takes the presence of
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,
Katt
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription opt