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


Groups > comp.lang.python > #94922

Re: I'm a newbie and I'm still stumped...

Path csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <SRS0=X1uRRq=IK=goldwinde.com=Dwight@eigbox.net>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.012
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'python,': 0.02; 'python)': 0.05; 'bash': 0.07; 'aliases': 0.09; 'subject:still': 0.09; 'python': 0.10; '$path': 0.16; '>on': 0.16; 'echo': 0.16; 'path:': 0.16; 'python3.': 0.16; 'python3:': 0.16; 'received:yourhostingaccount.com': 0.16; 'wrote:': 0.16; 'python?': 0.18; 'os,': 0.22; 'sep': 0.22; 'downloaded': 0.24; 'header:In-Reply-To:1': 0.24; "i've": 0.25; 'header:User-Agent:1': 0.26; 'figure': 0.27; '(e.g.': 0.27; 'skip:# 10': 0.27; '(it': 0.29; 'there.': 0.30; 'url:mailman': 0.30; 'folder': 0.30; 'error.': 0.31; 'statement': 0.32; 'point': 0.33; 'url:python': 0.33; 'url:listinfo': 0.34; 'file': 0.34; 'running': 0.34; 'gives': 0.35; 'could': 0.35; 'but': 0.36; 'url:org': 0.36; 'received:10.20': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'being': 0.37; 'mac': 0.37; 'received:66': 0.38; 'thank': 0.38; 'mean': 0.38; 'sure': 0.39; 'whatever': 0.39; 'does': 0.39; 'url:mail': 0.40; 'to:addr:python.org': 0.40; 'where': 0.40; 'still': 0.40; 'results': 0.66; '4:55': 0.84; 'commands.': 0.84; 'received:10.20.15.10': 0.84; 'received:66.96.187': 0.84; 'received:bosmailscan10.eigbox.net': 0.84; '2014,': 0.91; 'received:112': 0.93
X-Authority-Analysis v=2.1 cv=MLvumapl c=1 sm=1 tr=0 a=FLmnjis/JmE4jomwi6pJ+A==:117 a=udqrBR1D2HMiW0oUly8BNg==:17 a=pq4jwCggAAAA:8 a=QPcu4mC3AAAA:8 a=8_iErv3XAAAA:8 a=1E9jo8_qk6kA:10 a=wpL1jeqTJocA:10 a=8nJEP1OIZ-IA:10 a=uRRa74qj2VoA:10 a=8AHkEIZyAAAA:8 a=0BV1GXKAm9BXStD1omMA:9 a=wPNLvfGTeEIA:10 a=CT8-vfNvTE4A:10
User-Agent Microsoft-MacOutlook/14.4.7.141117
Date Mon, 03 Aug 2015 16:56:49 +0800
Subject Re: I'm a newbie and I'm still stumped...
From Dwight GoldWinde <Dwight@GoldWinde.com>
To Python Python <python-list@python.org>
Thread-Topic I'm a newbie and I'm still stumped...
References <D1E0EED9.10BBA2%Dwight@GoldWinde.com> <mpis6l$b9f$1@ger.gmane.org> <mailman.1171.1438585158.3674.python-list@python.org> <ts8uradnhvig3rt9f3h3rs4prppqhflvo4@4ax.com> <D1E54D04.10C047%Dwight@GoldWinde.com>
In-Reply-To <D1E54D04.10C047%Dwight@GoldWinde.com>
Mime-version 1.0
Content-type text/plain; charset="ISO-8859-1"
Content-transfer-encoding quoted-printable
X-EN-UserInfo 6c5a25a10f5591a3de9585e9195aba16:931c98230c6409dcc37fa7e93b490c27
X-EN-AuthUser dwight@goldwinde.com
Sender Dwight GoldWinde <Dwight@GoldWinde.com>
X-EN-OrigIP 112.112.46.139
X-EN-OrigHost unknown
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1172.1438594259.3674.python-list@python.org> (permalink)
Lines 50
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1438594259 news.xs4all.nl 2826 [2001:888:2000:d::a6]:48148
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:94922

Show key headers only | View raw



On 8/3/15, 4:55 PM, "Dwight GoldWinde" <Dwight@GoldWinde.com> wrote:

>Okay, thank you, Dave, so I got the following info:
>type $(which python3)
>/Library/Frameworks/Python.framework/Versions/3.4/bin/python3 is
>/Library/Frameworks/Python.framework/Versions/3.4/bin/python3
>
>
>But I can¹t figure out what short of ³usr² statement (e.g. #!/usr/bin/env
>python3) I need to point it there. Whatever I tried, still gives me
>version 2.
>
>???
>
>Dwight
>
>On 8/3/15, 4:27 PM, "Dave Farrance" <df@see.replyto.invalid> wrote:
>
>>Dwight GoldWinde <Dwight@GoldWinde.com> wrote:
>>
>>>Here are the results I got below, showing the same error. The first line
>>>says, 
>>>"2.7.6 (default, Sep 9 2014, 15:04:36)². Does that mean I am running the
>>>old Python? How could that be since I am SURE I downloaded 3.4.3 (it
>>>even
>>>gives the folder name as ³Python 3.4² in the Applications folder on my
>>>Mac.
>>
>>Yes, that's Python2.  I've never used MAC OS, but I understand that it
>>has the BASH shell, so you can use "which" try to figure out where
>>python is being found on the path:
>>
>>$ echo $PATH
>>
>>$ which python
>>
>>Use the above to also check for the position of python2 and python3.
>>
>>You can check for aliases and links with the "type" and "file" commands.
>>Do this for python, python2 and python3:
>>
>>$ type $(which python)
>>
>>$ file $(which python)
>>-- 
>>https://mail.python.org/mailman/listinfo/python-list

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


Thread

Re: I'm a newbie and I'm still stumped... Dwight GoldWinde <Dwight@GoldWinde.com> - 2015-08-03 14:57 +0800
  Re: I'm a newbie and I'm still stumped... Paul Rubin <no.email@nospam.invalid> - 2015-08-03 00:14 -0700
    FW: I'm a newbie and I'm still stumped... Dwight Hotmail <GoldWinde@hotmail.com> - 2015-08-03 16:19 +0800
  Re: I'm a newbie and I'm still stumped... Dave Farrance <df@see.replyto.invalid> - 2015-08-03 09:27 +0100
    Re: I'm a newbie and I'm still stumped... Dwight GoldWinde <Dwight@GoldWinde.com> - 2015-08-03 16:56 +0800
      Re: I'm a newbie and I'm still stumped... Jussi Piitulainen <jpiitula@ling.helsinki.fi> - 2015-08-03 12:49 +0300

csiph-web