python访问纯真IP数据库【点击查看详情】
python访问纯真IP数据库:#!/usr/bin/env python #site www.jbxue.com # # -*- coding: utf-8 -*- from bisect import bisect _LIST1, _LIST2 = [], [] _INIT = False ip2int = lambda ip_str: reduce(lambda a, b: (a << 8) + b, [int(i) for i in ip_str.split('.'