How do I undo an import??
Grant Edwards
grant at nowhere.
Fri Apr 14 15:38:19 EDT 2000
In article <bkKJ4.190780$Hq3.4442202 at news2.rdc1.on.home.com>, Tom wrote:
>After importing NetCfg I type:
>
>>>> del sys.modules['NetCfg']
>
>Python responds as follows:
>
>Traceback (innermost last):
> File "<stdin>", line 1, in ?
>NameError: sys
>
>Any ideas??
Did you do an "import sys"?
--
Grant Edwards grante Yow! You mean you don't
at want to watch WRESTLING
visi.com from ATLANTA?
More information about the Python-list
mailing list