[ANN] ip2cc-0.3: now it works with Python 2.3
Jeremy Fincher
tweedgeezer at hotmail.com
Tue Jan 27 22:57:15 EST 2004
rshaw2 at midsouth.rr.com (Richard) wrote in message news:<84e0f331.0401271515.2ed5c4f0 at posting.google.com>...
> I get an error when trying to use it... here's the problem below:
>
> C:\Tools>ip2cc.py www.google.com
> Traceback (most recent call last):
> File "C:\Tools\ip2cc.py", line 338, in ?
> db = CountryByIP(db_file)
> File "C:\Tools\ip2cc.py", line 14, in __init__
> self.fp = open(filename, 'rb')
> IOError: [Errno 2] No such file or directory: 'C:\\Tools\\ip2cc.db'
>
> Looks like the database file is not included with the download.
>
> Richard
That's probably why it includes update.py, a tool for
updating/building the database.
Jeremy
More information about the Python-list
mailing list