IP子网计算
将 IP MASK(如192.168.0.0255.255.0.0)格式的的IP子网转换为 IP/掩码位(如192.168.0.0/16) 格式。
使用python处理,执行 python ipmask2.py
ipmaks2.py
# -^- coding: utf-8 -*-
import os
def main():
fileRead = open("demo.txt")
fileWrite = open("demo1.txt",'w')
...
原创
2020-05-12 16:06:49 ·
395 阅读 ·
0 评论