python - 从 Python 代码构建 .NET DLL?

标签 python dll build ironpython compilation

如何制作用 Python 代码 (IronPython) 编写的 DLL (.NET)?

最佳答案

您无法从 IronPython 代码创建标准 .NET .dll(可直接从 C# 或 VB 使用的 .dll)。

pyc.py 生成只能由 IronPython 使用的 .dll - 使用 Reflector 检查此类 .dll,您就会明白原因。

关于python - 从 Python 代码构建 .NET DLL?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3176599/

相关文章:

testing - 如何让 buildr 对 jar 而不是类进行测试?

python - Chromedriver 文本文件忙

c - 如何从 vb6 调用 native C DLL

javascript - 如何从 HTML5 使用 native 代码 (windows)

c++ - 无法使简单的 COM 项目工作 : where and how to put implementation?

grails - 运行Maven目标时执行Grails环境配置

tfs - 为什么构建草稿不合并/通知草稿发布时的合并冲突?

python - 给定每个集合的图像文件名列表,将大数据集拆分到训练/有效/测试目录?

python - win32api.ShellExecute() 函数有什么作用?

python - 处理数据库断开连接