Reload Method or Object in IDLE

Posted by GSto on Stack Overflow See other posts from Stack Overflow or by GSto
Published on 2010-02-17T15:32:18Z Indexed on 2010/05/17 15:40 UTC
Read the original article Hit count: 122

Filed under:
|

when using idle, I know you can reload a module if it's changed like this:

import foo
reload(foo)

if I only import part of a module, is there a way to reload it in a similar matter?

from foo import bar

© Stack Overflow or respective owner

Related posts about python

Related posts about idle-ide