[IPython-user] auto-reimport modified files

Nathan Huesken ipython@lonely-star....
Tue Nov 17 11:26:57 CST 2009


Hi,

Often, I do in my ipython session:

import myPorgram as mp
mp.doSomething()

Than, I see that in myPorgram.py something is wrong, I edit it with vim
and go back the ipython session.
Now I have to "reload(mp)" to get the changes.

- Can this be automated, so that modified files are auto re-imported?
- How do I fefresh a file I imported with from ... import * ?

Thanks!
Nathan


More information about the IPython-user mailing list