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


Groups > comp.lang.python > #58701

Re: Python 3.3.2 Shell Message‏

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python@mrabarnett.plus.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.090
X-Spam-Evidence '*H*': 0.82; '*S*': 0.00; 'subject:Python': 0.06; 'python': 0.11; '3)]': 0.16; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'i\xe2\x80\x99m': 0.16; 'message-id:@mrabarnett.plus.com': 0.16; 'nameerror:': 0.16; 'received:84.93': 0.16; 'received:84.93.230': 0.16; 'wrote:': 0.18; '>>>': 0.22; 'header:User-Agent:1': 0.23; 'defined': 0.27; 'header:In-Reply-To:1': 0.27; 'appreciated.': 0.29; 'timely': 0.30; 'skip:( 20': 0.30; '"",': 0.31; 'file': 0.32; 'run': 0.32; 'open': 0.33; '(most': 0.33; 'created': 0.35; 'received:84': 0.35; 'idle': 0.36; 'module.': 0.36; 'next': 0.36; 'thanks': 0.36; 'step': 0.37; 'to:addr:python-list': 0.38; 'recent': 0.39; 'to:addr:python.org': 0.39; 'called': 0.40; 'name': 0.63; 'more': 0.64; 'assistance': 0.66; 'header:Reply- To:1': 0.67; 'response.': 0.68; 'prompt': 0.68; 'reply-to:no real name:2**0': 0.71; 'subjectcharset:utf-8': 0.72; '4.2.1': 0.84; 'montgomery': 0.84; 'reply-to:addr:python.org': 0.84; '2013,': 0.91
X-CM-Score 0.00
X-CNFS-Analysis v=2.1 cv=eKcq0hZ1 c=1 sm=1 tr=0 a=0nF1XD0wxitMEM03M9B4ZQ==:117 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=0Bzu9jTXAAAA:8 a=2LCq-pQfA8cA:10 a=Et6iyQVX27IA:10 a=ihvODaAuJD4A:10 a=jPJDawAOAc8A:10 a=OUOv7kDek9cA:10 a=IkcTkHD0fZMA:10 a=EBOSESyhAAAA:8 a=8AHkEIZyAAAA:8 a=okRpCFOu1TwA:10 a=1QoENq877t8ohKH-C9AA:9 a=QEXdDO2ut3YA:10
X-AUTH mrabarnett:2500
Date Thu, 07 Nov 2013 21:10:25 +0000
From MRAB <python@mrabarnett.plus.com>
User-Agent Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version 1.0
To python-list@python.org
Subject Re: Python 3.3.2 Shell Message‏
References <BLU170-W124523D33F901E8DCE8E393ABF30@phx.gbl>
In-Reply-To <BLU170-W124523D33F901E8DCE8E393ABF30@phx.gbl>
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
Reply-To python-list@python.org
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.2157.1383858623.18130.python-list@python.org> (permalink)
Lines 29
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1383858623 news.xs4all.nl 16003 [2001:888:2000:d::a6]:34735
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:58701

Show key headers only | View raw


On 07/11/2013 20:02, Bart Montgomery wrote:
> My thanks to Ned Deily for his timely response. IDLE is now stable, and
> I’m at the next step which is to run the file I created called hello.py.
> I get this message from the shell:
>
> Python 3.3.2 (v3.3.2:d047928ae3f6, May 13 2013, 13:52:24)
>
> [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
>
> Type "copyright", "credits" or "license()" for more information.
>
>  >>> hello.py
>
> Traceback (most recent call last):
>
> File "<pyshell#0>", line 1, in <module>
>
> hello.py
>
> NameError: name 'hello' is not defined
>
>  >>>
>
>
> Any assistance would be greatly appreciated.
>
That's the Python prompt ("Python 3.3.2 Shell" in the titlebar).

You can open the file with File->Open and then run it with Run->Run Module.

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


Thread

Re: Python 3.3.2 Shell Message‏ MRAB <python@mrabarnett.plus.com> - 2013-11-07 21:10 +0000

csiph-web