Steven D'Aprano  <steve+comp.lang.pyt...@pearwood.info> wrote:
>#! ("hash-bang") lines currently do nothing on Windows machines, they are 
>just comments. However, on Unix and Linux machines (and Macintosh?) they 
>are interpreted by the shell (equivalent to cmd.exe or command.com), in 
>order to tell the shell what interpreter to use to execute the program if 
>you run it directly.

They're actually interpreted by the kernel so that they'll work when
run from any program.

                                        Ross Ridge

-- 
 l/  //   Ross Ridge -- The Great HTMU
[oo][oo]  rri...@csclub.uwaterloo.ca
-()-/()/  http://www.csclub.uwaterloo.ca/~rridge/ 
 db  //   
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to