reloading module, need to re-compile sub modules?

Posted by alex on Stack Overflow See other posts from Stack Overflow or by alex
Published on 2010-05-11T21:31:30Z Indexed on 2010/05/11 21:34 UTC
Read the original article Hit count: 103

Filed under:

sorry, im sure this is asked a bunch, but i couldnt find it.

in myModule.py:

from myModule.subModule import myClass

i am working on myClass, and want to stay in my ipython session and test it. reload(myModule) doesnt re-compile myClass.

how can i do this?

© Stack Overflow or respective owner

Related posts about python