Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #51324

Re: Python Script Hashplings

Date 2013-07-26 19:33 -0400
From Devyn Collier Johnson <devyncjohnson@gmail.com>
Subject Re: Python Script Hashplings
References (1 earlier) <51F12E31.1070502@mrabarnett.plus.com> <51F2517D.2070009@Gmail.com> <CAPTjJmo4epku6P1p34w8txvKA4DBbHNECoa33Qah_ReK8r+-vw@mail.gmail.com> <51F27F72.3020807@mrabarnett.plus.com> <CAPTjJmrrUH=CjD-UmL4eZo6j6esjKfZYEdhzTKxBeDQYgF0FkA@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.5158.1374881596.3114.python-list@python.org> (permalink)

Show all headers | View raw


On 07/26/2013 10:14 AM, Chris Angelico wrote:
> On Fri, Jul 26, 2013 at 2:53 PM, MRAB <python@mrabarnett.plus.com> wrote:
>> If you want to test what would happen if that version wasn't installed,
>> set the shebang line to a future version, such as Python 3.4. I doubt
>> you have that installed! :-)
> Be careful, some people DO have a python3.4 binary :) Go for 3.5 for a
> bit more reliability.
>
> rosuav@sikorsky:~$ python3.4
> 3.4.0a0 (default:da7d97ca1ef6, Jul 13 2013, 14:05:08)
> [GCC 4.7.2]
>
> ChrisA

Thank you everyone for your comments and suggestions. I made a script to 
test the question. see for yourself:

SCRIPT:

#!/usr/bin/env python3.5
import sys; print(sys.version)


OUTPUT IN TERMINAL:

collier@Nacho-Laptop:~$ ./test.py
/usr/bin/env: python3.5: No such file or directory


Mahalo,

DCJ

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Python Script Hashplings Devyn Collier Johnson <devyncjohnson@gmail.com> - 2013-07-26 19:33 -0400

csiph-web