开发者

How to execute a Python script using the Python DLL?

开发者 https://www.devze.com 2023-04-02 08:53 出处:网络
I have a Python DLL already shipped and insta开发者_运维知识库lled on the end user (guaranteed, and with a known version number).

I have a Python DLL already shipped and insta开发者_运维知识库lled on the end user (guaranteed, and with a known version number).

How can I use this DLL to execute some Python scripts without shipping the Python interpreter (again)?


You'll want to embed Python in another application, and use PyRun_AnyFile*() to run it.

0

精彩评论

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

关注公众号