osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sys.modules


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.