已知IP和子网掩码批量计算出起始IP和终止IP 已知条件 程序 from IPy import IP import IPy import xlwt import xlrd file_path = 'D:\\Py-thon\\pyhon-yunwei\\ip转换.xlsx' xl = xlrd.open_workbook(r'D:\\Py-thon\\pyhon-yunwei\\ip转换.xlsx') table =