Newbie questions on import & cmd line run
Ross Ridge
rridge at csclub.uwaterloo.ca
Thu May 17 12:58:27 EDT 2012
Steven D'Aprano <steve+comp.lang.python at 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] rridge at csclub.uwaterloo.ca
-()-/()/ http://www.csclub.uwaterloo.ca/~rridge/
db //
More information about the Python-list
mailing list