Re: [Tutor] First line of a python program

2009-10-12 Thread Markus Flatscher
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

Re: [Tutor] First line of a python program

2009-10-12 Thread Steve Willoughby
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

Re: [Tutor] First line of a python program

2009-10-12 Thread Mark K. Zanfardino
>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

Re: [Tutor] First line of a python program

2009-10-12 Thread Katt
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