trouble with reload

David C Ullrich dullrich at sprynet.com
Thu Aug 13 21:20:13 CEST 2009


On Thu, 13 Aug 2009 12:05:26 -0700, Dr. Phillip M. Feldman wrote:

> According to the Python documentation, 'reload' reloads a previously
> imported module (so that changes made via an external editor will be
> effective). But, when I try to use this command, I get the following
> error message:
> 
> TypeError: reload() argument must be module

That would mean that you're trying to reload something
other than a module.

Of course you think you're reloading a module. The problem
is that... oops, since you don't show the code that leads
to this error it's hard to say what the problem is.

> Any suggestions will be appreciated.




More information about the Python-list mailing list