Martijn Faassen: The Call of Python 2.8

Andrew Berg aberg010 at my.hennepintech.edu
Wed Apr 16 03:32:00 EDT 2014


On 2014.04.15 20:21, Steven D'Aprano wrote:
> On Tue, 15 Apr 2014 17:32:57 -0500, Andrew Berg wrote:
> 
>> On 2014.04.15 17:18, Ned Batchelder wrote:
>>> Yeah, that's the wrong way to do it, and they shouldn't have done that.
>>>   "python" needs to mean Python 2.x for a long time.
>> Or maybe explicit is better than implicit:
>> 
>> # python
>> zsh: command not found: python
>> # which python2.7
>> /usr/local/bin/python2.7
>> # which python3.4
>> /usr/local/bin/python3.4
> 
> If you really meant that, you would have typed "/usr/bin/which2.16 
> python" (or whatever the location and version of which on your system).
Are you sure about that?
# which which
which: shell built-in command
Unless I'm forgetting some more explicit way of calling a command built into the shell.

-- 
CPython 3.4.0 | Windows NT 6.2.9200 / FreeBSD 10.0



More information about the Python-list mailing list