pyinstaller介绍:python打包程序,可以把.py程序打包成.exe
Windows下的安装方法:
pip3 install pyinstaller
程序打包(需CD到程序所在目录)
C:\Python35\Scripts\pyinstaller -F -w -i image\256.ico MainTab.py
-F 打宝成一个程序
-w 运行时没有黑窗
-i 使用图标(图标需使用ico格式,推荐像素256x256)
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号