打包环境python-2.7.17.amd64+pywin32-227.win-amd64-py2.7+PyInstaller3.0
python-2.7.17.amd64
下载地址:https://www.python.org/ftp/python/2.7.17/python-2.7.17.amd64.msi
pywin32-227.win-amd64-py2.7
下载地址:https://github.com/mhammond/pywin32/releases
PyInstaller3.0
下载地址:https://github.com/pyinstaller/pyinstaller/releases
pyinstaller.exe --noconsole --onefile C:\Users\Administrator\Desktop\python\py-shellcode\shellcode.py -i 16.ico -n test
-i 设置应用图标
-n 设置exe名称
-i -n需要一起使用