import sys
import os
path1=sys.executable
path2=os.path.dirname(path1)
print(path2)
apt 文件生成exe命令
pyinstaller -F 测试用.py
转自:https://blog.csdn.net/qq_43214142/article/details/109095457
import sys
import os
path1=sys.executable
path2=os.path.dirname(path1)
print(path2)
apt 文件生成exe命令
pyinstaller -F 测试用.py
转自:https://blog.csdn.net/qq_43214142/article/details/109095457