testing '192.168.1.4' is in '192.168.1.0/24' ?

Peter Hansen peter at engcorp.com
Mon Oct 24 14:03:26 CEST 2005


bonono at gmail.com wrote:
> thanks, that is basically what I am doing and since it is a recipe, I
> would assume there is no standard library module for it.

Well, since a Google search for "site:docs.python.org subnet" turns up 
nothing, one would assume not, but it would be hard to prove it without 
an exhaustive review of the source code. ;-)

-Peter



More information about the Python-list mailing list