global name 'sqrt' is not defined

James Mills prologic at shortcircuit.net.au
Fri Feb 6 01:55:19 CET 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