09 2020 档案
摘要:GitHub 安装 pip install gevent grequests import grequests urls = [ 'http://www.heroku.com', 'http://python-tablib.org', 'http://httpbin.org', 'http://py
阅读全文
摘要:object_name? | 查看方法描述 %line magics | 行魔术方法 %%Cell magics | 块魔术方法 !shell | 执行系统命令 Functions that work with code: %run, %edit, %save, %macro, %recall, e
阅读全文
摘要:批量杀死进程 ps -ef | grep handle_clean_call | grep -v grep | awk '{print $2}' | xargs kill -9 查看网卡流量 network.sh #!/bin/bash ethn=$1 while true do RX_pre=$(
阅读全文
摘要:Js获取父级,兄弟,子元素 // 获取子节点 document.getElementById("div").childNodes // 获取子元素 document.getElementById("div").children[0] // 第一个子元素 document.getElementById
阅读全文
摘要:Linux 工具命令 使用curl测试网络通信 #!/bin/bash cnt_pos=1 while true do echo " the $cnt_pos requet " echo "Start time: "`date +"%Y-%m-%d %H:%M:%S"` t0=`date +%s`
阅读全文
摘要:from xml.dom.minidom import Document # 创建Dom doc = Document() # 创建一个根节点 root = doc.createElement("root") doc.appendChild(root) # 给根节点添加属性 root.setAttr
阅读全文

浙公网安备 33010602011771号