How to execute a Python script using the Python DLL?
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.
精彩评论