running python 2 vs 3

Chris Angelico rosuav at gmail.com
Fri Mar 21 04:34:28 CET 2014


On Fri, Mar 21, 2014 at 2:16 PM, Steven D'Aprano
<steve+comp.lang.python at pearwood.info> wrote:
> I haven't seen scripts broken because "env"
> has moved, but I guess that's only a matter of time.

That usage is extremely common, and isn't it also specified by POSIX?
I think that's about as dependable as you can get.

Course, it does depend on the user's $PATH...

ChrisA



More information about the Python-list mailing list