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


Groups > comp.lang.python > #51324 > unrolled thread

Re: Python Script Hashplings

Started byDevyn Collier Johnson <devyncjohnson@gmail.com>
First post2013-07-26 19:33 -0400
Last post2013-07-26 19:33 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#51324 — Re: Python Script Hashplings

FromDevyn Collier Johnson <devyncjohnson@gmail.com>
Date2013-07-26 19:33 -0400
SubjectRe: Python Script Hashplings
Message-ID<mailman.5158.1374881596.3114.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web