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


Groups > comp.lang.python > #98351

Re: Puzzled

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Gene Heskett <gheskett@wdtv.com>
Newsgroups comp.lang.python
Subject Re: Puzzled
Date Fri, 6 Nov 2015 08:21:42 -0500
Lines 102
Message-ID <mailman.84.1446816117.16136.python-list@python.org> (permalink)
References <4CFEDC132D44AC49BA0E91FBEB947119084A742852@DCBL123VX.root.sutterhealth.org> <201511052310.tA5NAjAk026602@fido.openend.se> <4CFEDC132D44AC49BA0E91FBEB947119084A8D60B8@DCBL123VX.root.sutterhealth.org>
Mime-Version 1.0
Content-Type Text/Plain; charset="utf-8"
Content-Transfer-Encoding quoted-printable
X-Trace news.uni-berlin.de +WgvR7DaTlv2dHYj4lGxRwLVdQwtKRWNgC57LpCwNQiQ==
Return-Path <gheskett@wdtv.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'startup': 0.05; 'correct.': 0.07; 'works.': 0.07; 'attachment.': 0.09; 'creighton': 0.09; 'enormous': 0.09; 'nameerror:': 0.09; 'typed': 0.09; 'python': 0.10; 'thursday,': 0.13; 'missed': 0.15; 'interpreter': 0.15; 'message-----': 0.15; 'thu,': 0.15; 'variables': 0.15; 'basic.': 0.16; 'enough.': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'soap,': 0.16; 'stripped': 0.16; 'those,': 0.16; 'traceback.': 0.16; 'uninstall': 0.16; 'wendy': 0.16; 'wrote:': 0.16; 'laura': 0.18; '>>>': 0.20; 'windows': 0.20; '2015': 0.20; 'aug': 0.20; 'posted': 0.21; 'meant': 0.22; '"",': 0.22; '64-bit': 0.22; 'see:': 0.22; 'cheers,': 0.22; 'defined': 0.23; 'bit': 0.23; 'help.': 0.23; 'seems': 0.23; 'this:': 0.23; 'tried': 0.24; '(most': 0.24; 'thus': 0.24; 'header:In-Reply- To:1': 0.24; "i've": 0.25; 'header:User-Agent:1': 0.26; "doesn't": 0.26; 'installed': 0.26; 'linux': 0.26; 'back.': 0.27; 'see,': 0.27; 'yesterday': 0.27; 'this.': 0.28; "skip:' 10": 0.28; '---': 0.28; 'fine': 0.28; 'if,': 0.29; 'environment': 0.29; 'work.': 0.30; 'code': 0.30; 'guess': 0.31; 'probably': 0.31; "can't": 0.32; 'morning': 0.32; 'though,': 0.32; 'run': 0.33; 'problem': 0.33; 'url:python': 0.33; 'traceback': 0.33; "i'll": 0.33; 'skip:- 10': 0.34; 'file': 0.34; 'worked': 0.34; 'server': 0.34; 'list': 0.34; 'gives': 0.35; 'sent:': 0.35; 'could': 0.35; 'cc:': 0.35; 'happened': 0.35; 'nov': 0.35; 'skip:> 10': 0.35; 'something': 0.35; 'subject:': 0.35; 'but': 0.36; 'instead': 0.36; 'there': 0.36; 'url:org': 0.36; 'basic': 0.36; 'monday,': 0.36; 'url:non- standard http port': 0.36; "wasn't": 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'there,': 0.37; 'available.': 0.37; 'list.': 0.37; 'wanted': 0.37; 'itself': 0.38; 'received:66': 0.38; 'delete': 0.38; 'files': 0.38; 'why': 0.39; 'material': 0.39; "didn't": 0.39; 'from:': 0.39; 'to:addr:python.org': 0.40; 'where': 0.40; 'still': 0.40; 'some': 0.40; 'url:3': 0.60; 'your': 0.60; 'skip:u 10': 0.61; 'header:Message-Id:1': 0.61; 'caused': 0.61; 'tracking': 0.61; 'programs': 0.62; 'federal': 0.62; 'is.': 0.63; 'more': 0.63; 'contact': 0.66; 'thursday': 0.66; 'phone': 0.68; 'reply': 0.68; 'received:204': 0.75; 'sole': 0.76; 'prompt': 0.79; '5.2.1': 0.84; 'sort.': 0.84; 'url:tutorial': 0.91; 'audit': 0.93; 'responses': 0.93; 'hand,': 0.97
X-Spam-Status No, score=0.6 required=5.0
X-Spam-Level
User-Agent KMail/1.9.10 (enterprise35 0.20100827.1168748)
In-Reply-To <4CFEDC132D44AC49BA0E91FBEB947119084A8D60B8@DCBL123VX.root.sutterhealth.org>
X-KMail-QuotePrefix >
Content-Disposition inline
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>
Xref csiph.com comp.lang.python:98351

Show key headers only | View raw


On Thursday 05 November 2015 19:04:35 Robinson, Wendy wrote:

> Hmmm... fair enough.  I sent the traceback though, on Monday.

If you sent a traceback on Monday, it wasn't seen by this list.
Do not 'attach' it to the message, but include it as the list server 
might have stripped an attachment.

> I'll give the intro a read again.  I've probably missed something
> basic.
>
> Wendy Robinson
> Audit Analyst
> (916) 566-4994 phone
>
>
>
> NOTICE OF CONFIDENTIALITY: This email is for the sole use of the
> intended recipient and may contain material that is confidential and
> protected by state and federal regulations.  If you are not the
> intended recipient please immediately delete it and contact the
> sender.

This is a public list Wendy, so this has no meaning. There are those, who 
on seeing such a message, will not reply even if they could help.

> -----Original Message-----
> From: Laura Creighton [mailto:lac@openend.se]
> Sent: Thursday, November 05, 2015 3:11 PM
> To: Robinson, Wendy
> Cc: 'Laura Creighton'; 'python-list@python.org'; lac@openend.se
> Subject: Re: Puzzled
>
> In a message of Thu, 05 Nov 2015 12:48:11 -0800, "Robinson, Wendy" 
writes:
> >Well... I still can't get this to work. I guess I'll just uninstall
> > it. It's a bummer that there's no help on basic startup like this.
> >
> >Wendy Robinson
> >Audit Analyst
> >(916) 566-4994 phone
>
> There is enormous amount of help available.  But we need to know more
> about what your problem is, and how it presents itself before we can
> start tracking down what your problem is, which is why I wanted a
> traceback.
>
> >>Hi there,
> >>I installed Python 3.5.0 64-bit for Windows yesterday and tried some
> >> basic programs successfully. This morning I rebooted my computer
> >> and can't get a single one to work.  The interpreter seems to be
> >> fine and the environment variables look correct.  But every py file
> >> I try to run at the >>> prompt gives me a NameError.
>
> See, this is where your problem is. There is a conceptual problem in
> understanding what you meant by 'tried some basic programs
> successfully' versus 'running py files at the >>> prompt'.
>
> Either you didn't use the Python console -- the thing that is showing
> you the '>>>' yesterday, and thus the programs that were working
> yesterday are now working every bit as well as they did then, and your
> problem is that you do not know how to use the python console.
>
> Or you did use the console before, and they worked there, and now you
> have NameErrors.
>
> I think the problem is the first sort.
> I think that you opened up the python console and then typed in
> something like 'myprogram.py' expecting the console to run the
> myprogram.  Instead you got something like this:
>
> Python 3.5.0rc1 (default, Aug 12 2015, 14:57:46) [GCC 5.2.1 20150808]
> on linux Type "help", "copyright", "credits" or "license" for more
> information.
>
>  >>> myprogram.py
>
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> NameError: name 'myprogram' is not defined  >>>
>
> If this is what happened then your python is fine.  You just do not
> know how the interactive console works.  It doesn't run files like
> this.
>
> See:https://docs.python.org/3.5/tutorial/introduction.html
>
> You type code at the console and get responses back.
>
> If, on the other hand, this is not your problem, then we need a
> traceback --- and what I posted above was a traceback -- so that we
> can see what caused the NameError.
>
> Laura


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

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


Thread

Re: Puzzled Gene Heskett <gheskett@wdtv.com> - 2015-11-06 08:21 -0500

csiph-web