Disabling Cache?
Jeff Shannon
jeff at ccvcorp.com
Fri Aug 17 14:06:49 EDT 2001
Angel Asencio wrote:
> I know that I can do "reload" to load a module all over again. But
> I do not want to trace all the modules
> to determine which ones are dependent and reload them.
>
> Is there a way to disable the caching? I am tired of shutting down
> IDLE to reset stuff.
>
Hm, you might be able to do something like:
def reload_all():
for module in sys.__modules__:
reload(module)
Though I can't swear that this won't trip over *something* or other.
Jeff Shannon
Technician/Programmer
Credit International
More information about the Python-list
mailing list