GUI and Desktop Modules
idlelib
Optional implementation package for IDLE, the Python editor and interactive shell. It provides the application internals, not a stable general-purpose editor API. Learners can launch IDLE on a supported installation with python -m idlelib; this proposed import example only checks the package identity.
Formal Syntax & Structure
python syntaxpython
import idlelibReturn Value
module
Module namespace available through import; import is a statement, not a value-returning expression.
Working Example
Example Snippetpython
import idlelibprint(idlelib.__name__)