delete namespaces
Terry Reedy
tjreedy at udel.edu
Wed Mar 30 00:57:12 EDT 2011
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
More information about the Python-list
mailing list