Slide 52
Slide 52 text
Reuven M. Lerner • @reuvenmlerner • https://lerner.co.il/
Euro Python 2022: What happens when you import a module?
>>> sys.builtin_module_names
('_abc', '_ast', '_codecs', '_collections',
'_functools', '_imp', '_io', '_locale', '_operator',
'_signal', '_sre', '_stat', '_string', '_symtable',
'_thread', '_tracemalloc', '_warnings', '_weakref',
'atexit', 'builtins', 'errno', 'faulthandler', 'gc',
'itertools', 'marshal', 'posix', 'pwd', 'sys', 'time',
'xxsubtype')
What modules are already loaded?
52