Executing a modified function

Martin v. Löwis martin at v.loewis.de
Thu Jan 2 16:28:26 EST 2003


"Dave Bazell" <bazell at comcast.net> writes:

> If I enter python and run a funtion, then I modify it and try to run it
> again, it appears I execute the old version.  Is there a way to force the
> new version to be executed in this situation, without leaving python and
> starting again?

You need to reload the module.

Regards,
Martin




More information about the Python-list mailing list