py脚本转exe,有一个python模块可以使用pyinstaller使用这个模块只需要一行代码就可以将写好的脚本转换为exe可执行程序。pyinstaller.exe -F .\py_to_exe.py