Collecting IP range

David Murmann david.murmann at
Tue Jan 31 08:17:11 CET 2006

yawgmoth7 schrieb:
> Well, I seem to have a bit of a problem:
> >>>import IPy
> >>>ip =IP('')
> Traceback (Most recent call last):
> File "<stdin>". line `, in ?
> NameError: name 'IP' is not defined
> >>>

to make this work with "import IPy" you need
to use "ip = IPy.IP('')".

> I've tried doing it like:
> from IPy import *
> And then doing that, but it gives mea  different error. Thanks once again

what error are you getting? it works for me...


More information about the Python-list mailing list