[nSLUG] Python and HTML

George N. White III gnwiii at gmail.com
Sun Jan 11 09:37:39 AST 2015


On Sun, Jan 11, 2015 at 12:38 AM, Hatem Nassrat <hnassrat at gmail.com> wrote:

> On linux systems the best way to make it generic, is to use the env
> command, making the hash bang line read:
>
> #!/usr/bin/env python3
>
>
My scientific linux 7 (RHEL7-based) system has both /bin/env and
/usr/bin/env (from coreutils). I have encountered scripts with "#! /bin/env
...".  I assume RedHat provides /bin/env for compatibility with some legacy
systems (Sun, SGI, etc) or maybe some systems that use busybox.  OS X
generally follows BSD and has only /usr/bin/env.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nslug.ns.ca/pipermail/nslug/attachments/20150111/831110fc/attachment.html>


More information about the nSLUG mailing list