【问题标题】:Python interpreter as shared library [closed]Python解释器作为共享库[关闭]
【发布时间】:2012-05-23 00:18:55
【问题描述】:

我想将 python 嵌入到我的应用程序中。如何从源代码编译 python 作为共享库(.dll 或 .so)?默认配置只生成 python 可执行文件。

【问题讨论】:

  • the default configuration only produces python executable 这不是真的

标签: python embed shared-libraries


【解决方案1】:

默认配置只生成 python 可执行文件。

不正确。 “可执行文件”是共享库的一个非常薄的包装器,它设置解释器对象并运行它。他们在那里;仔细看看。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-10-24
    • 2021-01-28
    • 1970-01-01
    • 2015-12-30
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多