On Thu, 31 Aug 2006, �yvind wrote:

I have a database where I have some IP-ranges. Then I have some logs over IPs from customers and need to connect the two.

So, for example:

Range 1:
123.132.122.4-123.132.122.255

Hello,

You might want to consider using tuple comparison.  For example:

###
(1, 2) <= (1, 3) <= (1, 4)
True
###

Hope this helps!
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to