pyinstaller支持python2和python3
命令行安装:pip install pyinstaller
pyinstaller --icon=duoguan.ico --onefile auto.py