We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.

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.