Thank you Anthony, that worked well.
Margaret
On Saturday, October 26, 2013 12:04:33 PM UTC-5, greaneym wrote:
>
> Hi,
>
> I have written an app using pygeoip and MaxMind data files that works but
> I want to make a change. This library with the data files allows
> one to map ip addresses to geo
Looks like you need to access the file via the filesystem path, not the
URL, so try:
import os
gic = pygeoip.GeoIP(os.path.join(request.folder, 'static', 'GeoLiteCity.dat'
), pygeoip.MEMORY_CACHE)
Anthony
On Saturday, October 26, 2013 1:04:33 PM UTC-4, greaneym wrote:
>
> Hi,
>
> I have written
2 matches
Mail list logo