tools.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:internet-content-detection 作者: liubo0621 项目源码 文件源码
def ip_to_num(ip):
    ip_num = socket.ntohl(struct.unpack("I", socket.inet_aton(str(ip)))[0])
    return ip_num
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号