How can I make a Python script standalone executable to run without ANY dependency?

后端 未结 19 3068
眼角桃花
眼角桃花 2020-11-21 04:51

I\'m building a Python application and don\'t want to force my clients to install Python and modules.

So, is there a way to compile a Python script to be a standalone

19条回答
  •  南旧
    南旧 (楼主)
    2020-11-21 05:46

    Not exactly a packaging of the Python code, but there is now also Grumpy from Google, which transpiles the code to Go.

    It doesn't support the Python C API, so it may not work for all projects.

提交回复
热议问题