简体   繁体   中英

How to execute a Python script using the Python DLL?

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM