ANN: ip2cc - country from IP resolution
jp at NOSPAMdemonseed.net
Fri Aug 16 21:23:00 CEST 2002
I just wrote THIS EXACT SAME PROGRAM last week.
Oh well, yours looks better anyway.
Denis S. Otkidach <ods at fep.ru> wrote:
> WHAT IS IT
> If you want to gather web statistics by countries (not by top-level
> domains) or implement targeting, here is solution: ip2cc. This module
> allows to resolve country from IP address.
> ip2cc.py -update bild/update database
> ip2cc.py <address> print country name for which
> <address> is registered
> For example:
> $ ./ip2cc.py python.org
> python.org (188.8.131.52) is located in NETHERLANDS
> $ ./ip2cc.py google.com.ru
> google.com.ru (184.108.40.206) is located in UNITED STATES
> Module can be used as CGI, try it at http://220.127.116.11/ip2cc
> WHERE TO GET
> Denis S. Otkidach
> http://www.python.ru/ [ru]
> http://diveinto.python.ru/ [ru]
More information about the Python-list