python把代码打包成.exe 对具有功能的代码: 在pycharm里面打开一个终端输入ls如果没有pyinstaller,则要pip3 install pyinstallerpyinstaller -F.\xxx.py(xxx.py就是写好的函数名字)