How do I undo an import??
Tom
tom-main at REMOVEME.home.com
Fri Apr 14 16:06:48 EDT 2000
Uh... no, I didn't.
Sorry, I'm quite new to Python.
Tom.
"Grant Edwards" <grant at nowhere.> wrote in message
news:slrn8festb.8ld.grant at grante.comtrol.com...
> 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