sys.modules
modules
This is a dictionary that maps module names to modules which have already been loaded. This can be manipulated to force reloading of modules and other tricks. Note that removing a module from this dictionary is not the same as calling reload on the corresponding module object.
last updated 2 years ago by effbot #
