Develop-test-debug cycle

logistix logstx at bellatlantic.net
Thu Mar 21 18:06:14 EST 2002


DOH! Missed that del statement.

> One possible fix/workaround, though also possibly a huge pain in the
posterior,
> is to simply change all references to wibble to use Wibblemodule.wibble.
>
> Another thing that might work:
>
> reload(Wibblemodule)
> from Wibblemodule import wibble
>
> By specifically re-importing wibble, this should (I think) re-bind the
name to
> the new version.

You could also do this the same way you overload stdin, stdout:

from Wibblemodule import wibble
import Wibblemodule

...

reload(Wibblemodule)
wibble = Wibblemodule.wibble






More information about the Python-list mailing list