shebang in cross platform scripts

Diez B. Roggisch deetsNOSPAM at web.de
Wed Apr 6 10:03:27 EDT 2005


rbt 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

Thanks to the # being the comment sign in python, it will be silently
discarded by windows.

-- 
Regards,

Diez B. Roggisch



More information about the Python-list mailing list