[Tutor] first steps

Donald Bedsole drbedsole at gmail.com
Wed Mar 16 03:09:42 CET 2011


Hi Ryan,

Also, when it works correctly, IDLE won't run the program again via
the >>> chaos.main() statement. I get this:
Traceback (most recent call last):
  File "<pyshell#1>", line 1, in <module>
    chaos.main()
NameError: name 'chaos' is not defined

I think IDLE is looking for a file name to run.  If your file name is
chaos.py, use that.


More information about the Tutor mailing list