中国开发网: 论坛: 程序员情感CBD: 贴子 672099
mhappy
偶查了,改用PY3EXE即可,贴给楼上的。
编写一个setup.py

from distutils.core import setup
import py3exe

setup(
# The first three parameters are not required, if at least a
# 'version' is given, then a versioninfo resource is built from
# them and added to the executables.
version = "0.1.0",
description = "Serial2Telnet",
name = "Serial2Telnet",

console = ["main.py"],
)

py3exe修改了py2exe中不认中文路径的问题

再编写一个build.bat

python setup.py py2exe
pause

Done

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录