【问题标题】:How can I share a multifile python project as one file如何将多文件 python 项目共享为一个文件
【发布时间】:2021-04-19 06:44:21
【问题描述】:

我有一个 python 项目,其中包含许多从其子文件夹和 txt 文件导入的 other.py 文件 我想分享这个项目,但只能作为一个可执行文件,以便没有人可以看到代码或文本文件等...... 有没有办法这样做 如果不是,我还能如何共享项目而不让任何人能够检查 .py 文件的代码

【问题讨论】:

    标签: python python-3.x windows file executable


    【解决方案1】:

    您可以使用 PyInstaller (https://www.pyinstaller.org/) 构建独立的可执行文件。

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2022-11-17
    • 2011-12-07
    • 1970-01-01
    • 2018-03-16
    • 1970-01-01
    • 2019-12-16
    • 1970-01-01
    相关资源
    最近更新 更多