qqwry-python3
qqwry-python3 copied to clipboard
在纯真IP数据库(qqwry.dat)查询IP归属地, for python 3.0+,已上传至pypi:https://pypi.org/project/qqwry-py3/
国家 省 县
--------------------------------------------------------------------------- TypeError Traceback (most recent call last) in 1 from qqwry import QQwry 2 ----> 3 q = QQwry() 4 q.load_file('qqwry.dat') 5 q.lookup('8.8.8.8') TypeError: __init__() missing 1 required positional argument:...
qqwry.dat 9,590,983 bytes, 470521 segments. without index. None
支持返回国外IP的城市映射吗?
增加一个python2.7的版本吧