我最近在python3上开发了这个聊天应用程序,我想把我的脚本转换成一个可执行文件,我做了一些研究,发现并选择了cx\u Freeze,因为它是多平台的,我目前正在使用windows10。我编写这个脚本是为了进行转换,但是当我运行它时什么都没有发生。如果有人能帮我,那就太好了,谢谢!!!你知道吗
import cx_Freeze
import sys
base = None
if sys.platform == 'win32':
base = "Win32GUI"
executables = [cx_Freeze.Executable("/mis programas/chat/aplicacion1.1.py", base=base, icon="/mis programas/iconos/3.png")]
cx_Freeze.setup(
name = "PyChaT",
options = {"build_exe": {"packages":["tkinter"], "include_files":["/mis programas/iconos/3.png"]}},
version = "1",
description = "Source of communication",
executables = executables
)
目前没有回答
相关问题 更多 >
编程相关推荐