The graphics2.py file I supplied earlier (http://www.lclark.edu/ 
~drake/courses/cs0/graphics2.py) is a procedural front-end for  
Zelle's graphics.py.

If I run the graphics2.py module, everything works fine, and I can  
issue commands interactively.

A problem happens if I write ANOTHER program, say junk.py:

from graphics2 import *
print "imported graphics2"
background("red")

When I run this (within IDLE), it hangs trying to import graphics2.  
There is no error message or processor load, it just hangs.

Can anyone explain (or reproduce) this behavior?

Peter Drake
Assistant Professor of Computer Science
Lewis & Clark College
http://www.lclark.edu/~drake/



_______________________________________________
Edu-sig mailing list
Edu-sig@python.org
http://mail.python.org/mailman/listinfo/edu-sig

Reply via email to