Next: About this document ...
Up: Graphics Module Reference
Previous: Generating Colors
The graphics library is written as a thin wrapper on top of Tkinter,
the standard Python graphics module based on the Tk widget set.
Sometimes the use of graphics packages inside of an IDE can lead to
issues with ``dueling event-loops.'' As of Version 3.0,
graphics.py runs its Tk event loop in a separate thread.
This allows it to play well with IDLE (Python's default IDE) as long
as IDLE is being run in its normal mode (with subprocesses). One
particularly nice feature is the ablility experiment with graphics
interactively in the IDLE Python shell. The package will also work with
IDLE running in the no-subprocess (-n) mode, but IDLE will be unresponsive
during getMouse operations.
John Zelle
2006-09-04