Hi,
I'm doing a lot of development in IPython where
In[3]: from mystuff import MyObject
and then I make lots of changes in mystuff.py. In order to update the namespace, I have to do
In[4]: reload(mystuff)
In[5]: from mystuff import MyObject
Is there a better way to do this? Note that I cannot import MyObject by referencing mystuff directly as with
In[6]: import mystuff
In[7]: mystuff.MyObject
since that's not how it works in the code. Even better would be to have IPython automatically do this when I write the file (but that's probably a question for another time).
Any help appreciated.