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.
--
https://mail.python.org/mailman/listinfo/python-list