John Mark Agosta wrote:

> During interactive development one can reload modules that have been
> imported and modified by doing a  reload(module_name). How does this work
> if the module was imported into the main module with the "from ... import
> *" form? Is there a way to reload() them?

Not really.  The problem is that you have no handle to the module itself, since
you've thrown that away during the import process, so there's no good way to
connect those names back to the module they came from.  This is yet another
reason why that form is usually better avoided, especially with modules that are
still under development.

Jeff Shannon
Technician/Programmer
Credit International


_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython

Reply via email to