On Sun, May 24, 2009 at 10:18 PM, Paras K. wrote:
> Hello,
>
> I came across your answer / assistance on the IP range. I am fairly new to
> the python world of programming. However, up to this point I have always
> been able to get my programs to work by reading the books or following the
> guide
On May 24, 2009, at 11:18 PM, Paras K. wrote:
Hello,
I came across your answer / assistance on the IP range.
I recommend looking at the ipaddr library:
http://svn.python.org/projects/python/trunk/Lib/ipaddr.py
There is some Sphinx documentation with the python 2.7 docs and some
on the ori
Hello,
I came across your answer / assistance on the IP range. I am fairly new to
the python world of programming. However, up to this point I have always
been able to get my programs to work by reading the books or following the
guides I find through google.com
Here is what I have to do:
I have
Øyvind wrote:
> Hello.
>
> 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.
Also you might be interested in
http://c0re.23.nu/c0de/IPy/
Kent
___
Tutor maillist - Tutor@python.
Øyvind wrote:
> Hello.
>
> 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
>
> How do I check if IP 123.132.122.58 is a part of that? I have thought
> about
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:
##
Hello.
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
How do I check if IP 123.132.122.58 is a part of that? I have thought
about 4 if statements:
split(.)
if ip[0