[ANN] ip2cc-0.3: now it works with Python 2.3

Richard rshaw2 at midsouth.rr.com
Tue Jan 27 18:15:42 EST 2004


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



More information about the Python-list mailing list