[conspire] Running Python 3

Rick Moen rick at linuxmafia.com
Sat Jul 7 12:07:51 PDT 2018


Quoting Elise Scher (elise.scher01 at gmail.com):

> Hi People,
>      I can run my class Python 3 programs from the command line of a
> terminal, when I change "python," to 'python3" on the first line of my
> program:
> 
> Before:
> #$!/use/bin/env python

ITYM
  #!/usr/bin/env python

> After:
> #$!/use/bin/env python3

ITYM 
  #!/usr/bin/env python3

(Probably just a transcription glitch.  No worries.)

The 'env' utility is an indirect reference tool.  See:
https://en.wikipedia.org/wiki/Env  Note that cautions in the final
paragraph of that Wikipedia page, as the 'env' utility is something of a
two-edged sword.





More information about the conspire mailing list