06 2020 档案
pycharm 解决 “ invalid authentication data”
摘要:0.先将pycharm中Settings中的“Version Control” 中无效的Git删除,并且点击OK,确定删除(如果没有,则不需要删除); 1.登录到 “https://github.com/settings/tokens”,将原有的token清空,关闭pycharm,重启pycharm
阅读全文
python解决编码时,单鞋杠变为双斜杠问题
摘要:a = "1D0\x00" b = a.encode("gbk").decode("unicode_escape") #将字符串先编码后解码,解决单斜杠,变为双斜杠问题
阅读全文
手游自动化
摘要:手游UI自动化: github网址:https://github.com/AirtestProject/Airtest 安装:pip install -U airtest pip install -i https://pypi.tuna.tsinghua.edu.cn/simple airtest
阅读全文
adb 无限连接手机
摘要:1.usb先连接手机与电脑; 2.adb devices :检测到手机; 3.adb tcpip 5555 :打开5555端口 4.拔掉数据线 5.adb connect 192.168.1.100:5555 其中192.168.1.100为你手机的实际IP地址 6.adb devices :查看是
阅读全文
python uiautomator2 安装
摘要:1.安装: pip install -i https://pypi.tuna.tsinghua.edu.cn/simple uiautomator2 pip install -i https://pypi.tuna.tsinghua.edu.cn/simple weditor 2.使用: pytho
阅读全文