摘要: 获取屏幕尺寸(非分辨率): from ctypes import windll width = windll.user32.GetSystemMetrics(0) height = windll.user32.GetSystemMetrics(1) print(width, height) 设置鼠标 阅读全文
posted @ 2020-08-13 16:34 zezhou222 阅读(2799) 评论(0) 推荐(0)
摘要: 目的: 运行程序不需要安装依赖环境。 注意: 1. 打包成exe程序,并不会提高执行效率,有可能还会降低 安装模块: pip install pyinstaller 打包: 1. 进入打包程序的目录 2. pyinstaller -F 要打包的程序名称.py # -F 表示生成单个可执行文件; # 阅读全文
posted @ 2020-08-13 16:10 zezhou222 阅读(156) 评论(0) 推荐(0)