python程序打包成exe
from PyInstaller.__main__ import run
if __name__ == '__main__':
opts = ['test.py','--clean', '--win-private-assemblies','-F']
run(opts)
from PyInstaller.__main__ import run
if __name__ == '__main__':
opts = ['test.py','--clean', '--win-private-assemblies','-F']
run(opts)