On 1/22/2012 5:43 PM, Alan Gauld wrote:
On 22/01/12 22:10, Jaidev Deshpande wrote:

In[1]: from mymodule import myfunc

In[3]: from mymodule import myfunc

it doesn't work as per the new changes. I have to close IPython and
start all over again.

You can use reload() to reload the entire module, but I confess I don't know how to reload a function using import like that... reload doesn't seem to have any option for that

I'll watch this space to see if anyone else knows how.

Good idea. And now you know.


--
Bob Gailer
919-636-4239
Chapel Hill NC

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to