On 3/29/2011 9:14 PM, monkeys paw wrote:
How do i delete a module namespace once it has been imported?

I use

import banner

Then i make a modification to banner.py. When i import it again,
the new changes are not reflected.

The best thing, if possible, is to restart the program.
If you develop banner.py with adequate tests, you will want to restart the test anyway, and you should not need to modify much thereafter.

--
Terry Jan Reedy

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

Reply via email to