Re: Collecting IP range
- From: Heiko Wundram <modelnine@xxxxxxxxxxxxxx>
- Date: Tue, 31 Jan 2006 10:23:01 +0100
yawgmoth7 wrote:
> Well, since range() won't take a normal IP(Such as 127.0.0.1). and,
> you can't take it as 127001(Since socket.connect() won't take that).
> What would you suggest as a better way to approach this?
Use a recipe for that. Have a look at:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/466286
and
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/466298
--- Heiko Wundram.
.
- References:
- Collecting IP range
- From: yawgmoth7
- Collecting IP range
- Prev by Date: Re: beta.python.org content
- Next by Date: finding the intersection of a list of Sets
- Previous by thread: Re: Collecting IP range
- Next by thread: Re: Collecting IP range
- Index(es):