Hi,
Skip Montanaro wrote:
> Also, since it's clear you have already imported dbtest and util, there's no
> need to check in sys.modules:
>
> import dbtest, util
> reload(dbtest)
> reload(util)
Won't this load the modules twice on the first run? I only want to load
the modules once e
Lowell> import dbtest, util
Lowell> for module in ['dbtest', 'util']:
Lowell> if module in sys.modules.keys():
Lowell> reload(sys.modules[module])
Lowell> Is this the best way to do it? It seems a bit verbose, but not
Lowell> really all that bad. I was just w