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


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

Re: Python 3.3.2 Shell Message‏

Started byMRAB <python@mrabarnett.plus.com>
First post2013-11-07 21:10 +0000
Last post2013-11-07 21:10 +0000
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 3.3.2 Shell Message‏ MRAB <python@mrabarnett.plus.com> - 2013-11-07 21:10 +0000

#58701 — Re: Python 3.3.2 Shell Message‏

FromMRAB <python@mrabarnett.plus.com>
Date2013-11-07 21:10 +0000
SubjectRe: Python 3.3.2 Shell Message‏
Message-ID<mailman.2157.1383858623.18130.python-list@python.org>
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.

[toc] | [standalone]


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


csiph-web