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


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

Re: Python Script Hashplings

Started byChris Angelico <rosuav@gmail.com>
First post2013-07-26 11:43 +0100
Last post2013-07-26 11:43 +0100
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 Chris Angelico <rosuav@gmail.com> - 2013-07-26 11:43 +0100

#51295 — Re: Python Script Hashplings

FromChris Angelico <rosuav@gmail.com>
Date2013-07-26 11:43 +0100
SubjectRe: Python Script Hashplings
Message-ID<mailman.5142.1374835390.3114.python-list@python.org>
On Fri, Jul 26, 2013 at 11:37 AM, Devyn Collier Johnson
<devyncjohnson@gmail.com> wrote:
>
> On 07/25/2013 09:54 AM, MRAB wrote:
>>
>> On 25/07/2013 14:42, Devyn Collier Johnson wrote:
>>>
>>> If I execute a Python3 script with this haspling (#!/usr/bin/python3.3)
>>> and Python3.3 is not installed, but Python3.2 is installed, would the
>>> script still work? Would it fall back to Python3.2?
>>>
>> Why don't you try it?
>>
>>> I hope Dihedral is listening. I would like to see another response from
>>> HIM.
>>>
>>
> Good point, but if it falls back to Python3.2, how would I know? Plus, I
> have Python3.3, 3.2, and 2.7 installed. I cannot uninstall them due to
> dependencies.

Easy:

#!/usr/bin/python3.3
import sys
print(sys.version)

Now run that on lots of different computers (virtual computers work
well for this).

ChrisA

[toc] | [standalone]


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


csiph-web