selenium-wire 教程
摘要:selenium-wire 1 安装 pip install selenium-wire 2 简单例子 from seleniumwire import webdriver driver = webdriver.Chrome() driver.get('https://www.baidu.com/'
阅读全文
Python命令行工具——iPython安装与使用
摘要:一、安装iPython 通过pip install ipython的方式来安装ipython插件 如果你使用的是Mac电脑并安装了Python3,那么你也许需要输入pip3 install ipython 如果执行报错,找不到pip命令,可以通过命令行前往python安装路径下的Scripts目录,
阅读全文
run_py.sh shell 启动python程序
摘要:1.run_py.sh shell后台运行文件 #!/bin/bash #name1=`basename ${0%\.*}` # 获取传入的文件名 去掉后缀 /b/c/a.py-->a #echo $name1 #name2=$(echo $name1 | sed 's/hbase_id//') #
阅读全文
fiddler 安装编程猫插件
摘要:1.解压编程猫插件 2.把解压文件全部复制到 D:\02-software_python\15-Fiddler\install\Fiddler\Scripts 文件夹里 3.进入D:\02-software_python\15-Fiddler\install\Fiddler\Scripts\Prog
阅读全文
requests 小工具
摘要:1.解析header转成字典 header = """Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed
阅读全文