GUI and Desktop Modules
turtledemo
Optional collection of demonstration programs and a viewer for turtle graphics. It illustrates graphical patterns, movement and event-driven animation. It is an educational application rather than a stable reusable graphics API. On an installation including the demos, python -m turtledemo opens the viewer; the proposed example only imports the package.
Formal Syntax & Structure
python syntaxpython
import turtledemoReturn Value
module
Module namespace available through import; import is a statement, not a value-returning expression.
Working Example
Example Snippetpython
import turtledemoprint(turtledemo.__name__)