pip install pyinstaller
pyinstaller E:\fund_data\GetFund.py
D:\Python\Python311\Scripts\dist\
3.双击exe文件运行,如果未出现预期结果,可以把exe文件拖入终端执行,会显示报错提示,例如下图,说明这个文件没找到,需要你在 D:\Python\Python311这个路径下面找到对应的文件,复制到提示的路径下
D:\Python\Python311
京公网安备 11010502049817号