pyinstaller打包方法:
pyinstaller安裝參考地址:http://www.pyinstaller.org/
pywin32的下載地址:https://sourceforge.net/projects/pywin32/files/pywin32/(下載對應的版本)
1.安裝pyinstaller
cmd中進入python的pip文件的所在目錄執行命令
pip install pyinstaller
出現如下界面表示安裝成功。
2.cmd中進入要打包的項目的py文件所屬目錄(py文件可以放到電腦任意位置)
3.cmd中執行命令
pyinstaller testTk.py
