03 2023 档案

摘要:https://blog.csdn.net/weixin_38809962/article/details/126966598 AttributeError: ‘NoneType‘ object has no attribute ‘shape‘ 出现以上问题,原因大致可分为一下几种: 1.图片不存在 阅读全文
posted @ 2023-03-28 10:02 hello_tree 阅读(75) 评论(0) 推荐(0) 编辑
摘要:1. 可能原因就是不是root 用户登录的 2、文件夹权限需要改变 https://blog.csdn.net/weixin_42895478/article/details/114928866 阅读全文
posted @ 2023-03-24 14:09 hello_tree 阅读(562) 评论(0) 推荐(0) 编辑
摘要:import restr = "电量低4%实在不能工作了adbds"info = re.findall(r'\d', str)a=''.join(info)print(re.findall(r'[a-zA-Z]',str)) # 取带小写字母print(re.findall(r'[^u4e00-u9 阅读全文
posted @ 2023-03-07 19:41 hello_tree 阅读(22) 评论(0) 推荐(0) 编辑
摘要:1. 不能有重复的文件和文件夹名称 2. 尽量不要命名重复的文件名,即使不在同一个文件下 Traceback (most recent call last):File "/home/lll/zzz/work/video/zzz/generate.py", line 7, in <module>imp 阅读全文
posted @ 2023-03-07 15:53 hello_tree 阅读(35) 评论(0) 推荐(0) 编辑
摘要:#主页键KEYCODE_HOME = 3#返回键KEYCODE_BACK = 4#电源键KEYCODE_POWER = 26#菜单键KEYCODE_MENU = 82#多任务键KEYCODE_APP_SWITCH = 187 参考 https://blog.csdn.net/weixin_39822 阅读全文
posted @ 2023-03-06 17:37 hello_tree 阅读(33) 评论(0) 推荐(0) 编辑
摘要:1 .SQLAlchemy 链接数据库,密码中含有@或者\特殊字符 其中scott是用户名,tiger是密码,如果密码含有@或者\,@我们可以使用%40替换,/用%2F替换,\用%5C替换 阅读全文
posted @ 2023-03-05 16:50 hello_tree 阅读(23) 评论(0) 推荐(0) 编辑
摘要:命令行执行 #!/bin/bashcd /home/autoTest/yi_api_test_profess/test_casepython3 -m pytest -vs test_order_profess.py -m cn --alluredir /root/.jenkins/workspace 阅读全文
posted @ 2023-03-02 22:30 hello_tree 阅读(83) 评论(0) 推荐(0) 编辑
摘要:#adb -s "$*" shell getprop ro.build.display.id h=${1:-'H6116LC701234567'}adb -s ${h} shell getprop ro.build.display.id #v=${1:-'1.0.0'}#h=${2:-'test d 阅读全文
posted @ 2023-03-02 21:54 hello_tree 阅读(24) 评论(0) 推荐(0) 编辑

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