会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
zyf531
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
下一页
2023年8月9日
解决window移植到linux shell执行Python脚本提示找不到模块问题
摘要: 1、将工程目录添加到sys.path中 (测试有效 import syscpath = 'project_path' # 写成项目的地址 最好是绝对地址 因为有的地方确实会报错 不清楚原因sys.path.append(cpath) eg: sys_path = os.path.abspath(os
阅读全文
posted @ 2023-08-09 17:49 hello_tree
阅读(131)
评论(0)
推荐(0)
2023年8月3日
topic 协议的记录
摘要: 记录1: https://pypi.org/project/roslibpy/ 记录2: def message_callback_pause(self, message): pass def ros_run(self): client = roslibpy.Ros(host='192.168.64
阅读全文
posted @ 2023-08-03 10:13 hello_tree
阅读(24)
评论(0)
推荐(0)
Python中线程同步与线程锁
摘要: https://cloud.tencent.com/developer/article/2089139
阅读全文
posted @ 2023-08-03 09:25 hello_tree
阅读(20)
评论(0)
推荐(0)
2023年6月21日
adb 运行原理解释 以及命令
摘要: https://www.lmlphp.com/user/19897/article/item/503866/ adb shell monkey -p com.keenon.peanut.solutionfooddelivery --pct-syskeys 0 --ignore-crashes --i
阅读全文
posted @ 2023-06-21 17:00 hello_tree
阅读(34)
评论(0)
推荐(0)
2023年4月21日
python脚本切换wifi-pywifi使用
摘要: import time import pywifi from pywifi import const #有密码 def connect_wifi_password(name, password): wifi = pywifi.PyWiFi() # 创建一个wifi对象 ifaces = wifi.i
阅读全文
posted @ 2023-04-21 13:42 hello_tree
阅读(297)
评论(0)
推荐(0)
2023年4月7日
selenium 查看学习文档
摘要: https://www.cnblogs.com/hsukang/p/17132256.html
阅读全文
posted @ 2023-04-07 16:52 hello_tree
阅读(18)
评论(0)
推荐(0)
2023年4月4日
git pull遇到错误:error: Your local changes to the following files would be overwritten by merge:
摘要: 前置更新文件: 其中,<文件路径>是要强制更新的文件的路径。 这个命令将从仓库的最新提交中检出指定的文件,并覆盖本地的文件内容。注意,这将导致本地对该文件进行的任何修改都会丢失,请谨慎使用。 git checkout HEAD -- <文件路径> 前置更新文件夹 git checkout HEAD
阅读全文
posted @ 2023-04-04 11:40 hello_tree
阅读(166)
评论(0)
推荐(0)
2023年3月28日
开源的识别图片中文字
摘要: 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
阅读(102)
评论(0)
推荐(0)
2023年3月24日
linux 命令上传文件上传不上去
摘要: 1. 可能原因就是不是root 用户登录的 2、文件夹权限需要改变 https://blog.csdn.net/weixin_42895478/article/details/114928866
阅读全文
posted @ 2023-03-24 14:09 hello_tree
阅读(627)
评论(0)
推荐(0)
2023年3月7日
python 正则表达式的用法
摘要: 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
阅读(34)
评论(0)
推荐(0)
上一页
1
2
3
4
5
下一页
公告