摘要: 系统中有高版本的Python, 直接pip3 install ipcalc安装,都是装到高版本的Python系统默认的Python是2.7.6,现在想装到默认版本中,可以使用easy_installyuyue@workplace:/usr/bin $ sudo easy_install ipcalc... 阅读全文
posted @ 2015-08-06 00:12 yuyue2014 阅读(1145) 评论(0) 推荐(0) 编辑
摘要: 1. 安装IPypip3 install IPy2. 写脚本:yuyue@workplace:~ $ cat combine_ip.pyfrom IPy import IPSet, IPimport sysdef handler(file_name): ret = IPSet() for... 阅读全文
posted @ 2015-08-06 00:02 yuyue2014 阅读(4512) 评论(0) 推荐(0) 编辑