![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
文章平均质量分 66
抗大象的蚂蚁
这个作者很懒,什么都没留下…
展开
-
arp脚本的两种方法
第一种是使用arping工具:#!/usr/bin/env pythonimport subprocessimport sysimport redef arping(ipaddress = "192.168.1.1"): p = subprocess.Popen("/usr/sbin/arping -c 2 %s" % ipaddress, shell = True,原创 2014-04-15 11:13:08 · 1270 阅读 · 0 评论 -
Python __new__与__init__说明
来自Python文档:object.__new__(cls[, ...]) Called to create a new instance of class cls. __new__() is a static method (special-cased so you need not declare it as such) that takes the class of which an转载 2014-04-15 11:23:50 · 334 阅读 · 0 评论 -
文本处理脚本
最近要帮师兄处理一些数据,一个个原创 2014-04-24 10:01:56 · 727 阅读 · 0 评论