ID EN
Sys

builtin_module_names

Python 3.11

A tuple of strings containing the names of all modules that are compiled into this Python interpreter. (This information is not available in any other way — modules.keys() only lists the imported modules.)

Syntax

PYTHON
sys.builtin_module_names

See Also

sys.stdlib_module_names