python to exe transporter: py2exe Test report
时间:2023-04-27 20:07:00
1.py2
pip install py2exe
from distutils.core import setup import py2exe setup(windows=[{"script": "123.py"}])
2.py3
pip install pyinstaller
win r
cmd Enter
cd C:/python/scripts
pyinstaller.exe -F (the .py you want to transport)/filename.py
This report is only used to record my experience.
1. py2
pip安装py2exe
from distutils.core import setup import py2exe setup(windows=[{"script": "123.py"}])
2. py3
pip安装pyinstaller
win r
cmd Enter
cd C: / python /scripts
pyinstaller。exe - f (你想转换的py)/ filename.py
本报告仅用于记录我的经验。