trouble with reload

Rami Chowdhury rami.chowdhury at gmail.com
Thu Aug 13 15:07:36 EDT 2009


Could you please clarify how you're calling it? E.g.
	reload('foo')
or
	reload(foo)

?

On Thu, 13 Aug 2009 12:05:26 -0700, Dr. Phillip M. Feldman  
<pfeldman at verizon.net> 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
>
> Any suggestions will be appreciated.



-- 
Rami Chowdhury
"Never attribute to malice that which can be attributed to stupidity" --  
Hanlon's Razor
408-597-7068 (US) / 07875-841-046 (UK) / 0189-245544 (BD)



More information about the Python-list mailing list