On Mar 29, 6:14 pm, monkeys paw <mon...@joemoney.net> wrote:
> How do i delete a module namespace once it has been imported?
 . . .
> Then i make a modification to banner.py. When i import it again,
> the new changes are not reflected. Is there a global variable i can
> modify?

In Python2.x, you can use the reload() function:

Help on built-in function reload in module __builtin__:

reload(...)
    reload(module) -> module

    Reload the module.  The module must have been successfully
imported before.


Raymond
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to