2025年6月10日
摘要: 1、本地PING 管理员权限打开powershell ping.exe -t www.baidu.com |Foreach{"{0} - {1}" -f (Get-Date),$_}>D://PC_ping.txt 2、模组里边ping ping www.baidu.com | awk '{ pri 阅读全文
posted @ 2025-06-10 11:44 R0mrnel 阅读(18) 评论(0) 推荐(0)
  2024年10月26日
摘要: 1、把 .ui文件和python程序拷贝到同一文件夹下 2、生成一个logo图标,可以在这个网站上制作: https://www.bitbug.net/ 3、Pyinstaller -F -w -i logo.ico Demo_Pull.py 4、生成的脚本在dist目录下,只要把生成的exe和ui 阅读全文
posted @ 2024-10-26 11:10 R0mrnel 阅读(152) 评论(0) 推荐(0)
  2024年9月29日
摘要: 1 def search_port(port_name): 2 # 获取连接电脑的设备的所有端口信息 3 port_list = list(comports()) 4 print("port_list",port_list) 5 6 if len(port_list) > 0: 7 # 遍历所有端口 阅读全文
posted @ 2024-09-29 20:18 R0mrnel 阅读(65) 评论(0) 推荐(0)
  2021年12月29日
摘要: #安装pyinstaller: pip3 install pyinstaller -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com 安装的时候会提示:UPX is not available http 阅读全文
posted @ 2021-12-29 20:58 R0mrnel 阅读(26) 评论(0) 推荐(0)