12 2020 档案

摘要:#等待返回,设置callback为Trueimport subprocess def executeshell_by_call(command, callback=False): """ 执行shell命令 必须加上close_fds=True,否则子进程会一直存在 """ if callback: 阅读全文
posted @ 2020-12-22 16:13 离人怎挽_wdj 阅读(446) 评论(0) 推荐(0) 编辑
摘要:列出所有标签 git tag 通配符过滤标签 git tag -l "v1.0.0-RC5*" 新建tag git tag tagName 创建带备注得tag git tag -a v1.0.1 -m "my tag" 推送tag到远程 git push origin v1.0 删除tag 本地删除 阅读全文
posted @ 2020-12-15 19:02 离人怎挽_wdj 阅读(72) 评论(0) 推荐(0) 编辑
摘要:import requests from lxml import html etree = html.etree from bs4 import BeautifulSoup url = "https://mp.weixin.qq.com/s/drle9K4jgVWxm4v14ETbpQ" respo 阅读全文
posted @ 2020-12-11 09:44 离人怎挽_wdj 阅读(83) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2020-12-09 14:31 离人怎挽_wdj 阅读(0) 评论(0) 推荐(0) 编辑
摘要:url_str = 'https://www.tenable.com/plugins/feeds?sort=updated' respose_str = requests.get(url_str) print(respose_str.text) soup = BeautifulSoup(respos 阅读全文
posted @ 2020-12-07 15:41 离人怎挽_wdj 阅读(70) 评论(0) 推荐(0) 编辑
摘要:from bs4 import BeautifulSoup import requests import random def get_ip_list(url, headers): web_data = requests.get(url, headers=headers) print(web_dat 阅读全文
posted @ 2020-12-02 16:57 离人怎挽_wdj 阅读(83) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示