global name 'sqrt' is not defined

James Mills prologic at shortcircuit.net.au
Thu Feb 5 19:55:19 EST 2009


On Fri, Feb 6, 2009 at 10:48 AM, Nick Matzke <matzke at 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)

cheers
James



More information about the Python-list mailing list