On 2009-02-05 18:55, James Mills wrote:
On Fri, Feb 6, 2009 at 10:48 AM, Nick Matzke<mat...@berkeley.edu> wrote:
(PS: Is there a way to force a complete reload of a module, without exiting
ipython? Just doing the import command again doesn't seem to do it.)
m = __import__("mymobile")
reload(m)
Or more straightforwardly:
import mymobile
reload(mymobile)
If you have done
from mymobile import *
anywhere, you will need to re-execute that line again.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
--
http://mail.python.org/mailman/listinfo/python-list