有一个示例使用一个py文件(模块)构建可执行文件,这里给出我有大约4个py文件(模块),我想构建可执行文件,其中应包含所有py文件.
当我们有多个python模块时,如何构建python可执行文件?
这里的例子
from cx_Freeze import setup, Executable
setup(
name = "hello",
version = "0.1",
description = "the typical 'Hello, world!' script",
executables = [Executable("hello.py")])
Run Code Online (Sandbox Code Playgroud)
如果我有两个文件,如hello1.py和hello2.py,这有hello.py吗?
谢谢