I have a Python DLL already shipped and installed 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)?
您需要将Python嵌入另一个应用程序,并使用PyRun_AnyFile*()
运行它。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.