shebang in cross platform scripts
Bill Mill
bill.mill at gmail.com
Wed Apr 6 10:11:26 EDT 2005
On Apr 6, 2005 9:37 AM, rbt <rbt at athop1.ath.vt.edu> wrote:
>
> Haven't tested this on Windows yet... thought I'd ask here:
>
> Does the line below have any negative impact on Windows machines? I
> develop and test mostly on Unix, but my scripts are often used on Win
> systems too.
>
> #!/usr/bin/env python
What the others have said already is true, that it will be ignored on
windows, with one caveat. The shebang is interpreted by Apache if your
script is a CGI script. So, if your script is a CGI, you will need to
have a windows version and a nix version.
Peace
Bill Mill
bill.mill at gmail.com
More information about the Python-list
mailing list