sys.modules

ast none at gmail.com
Thu Feb 21 11:40:42 EST 2019


Hello

Is it normal to have 151 entries in dictionary sys.modules
just after starting IDLE or something goes wrong ?

 >>> import sys
 >>> len(sys.modules)
151

Most of common modules seems to be already there,
os, itertools, random ....

I thought that sys.modules was containing loaded modules
with import command only.



More information about the Python-list mailing list