开发者

Compile DLL from python code

Hi does anyo开发者_开发知识库ne know if you can compile Python code into a Windows DLL file? How would you go about doing this?


One way would be to create a C or C++ library that embeds the Python interpreter and runs your Python code.

Another option would be to translate you Python code to C++ with ShedSkin and make that a DLL, although I wouldn't expect a very clean API to come out of this.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜