How can I reexecute 'import foo from bar'?

Evan Weaver eweaver at NoSpam.udel.edu
Fri Aug 18 13:08:34 EDT 2000


redhouse at my-deja.com wrote:

> I know I can do a reload on a module in IDLE, but when I do this, any
> 'import foo from bar' foo's are not updated. I know I can get around
> this by typing out the full qualifier, but is there some way to make
> foo.method(instance) current other than typing out bar.foo.method
> (instance)?

No.

Evan Weaver
University of Delaware




More information about the Python-list mailing list