小编Kos*_*avt的帖子

Run .py script from C++

My question:

How to call a python script from C++?

Context:

I have such line written in Lua language:

os.execute("C:\\InstallPython\\python.exe C:\\FINAM\\py+lua\\Finam_parser.py")
Run Code Online (Sandbox Code Playgroud)

It runs a python script from my Lua script. Now, I want to transfer this script from Lua to C++. Please, help me to write the same thing using C++ language and to include the proper libraries.

c++ python lua

0
推荐指数
1
解决办法
58
查看次数

标签 统计

c++ ×1

lua ×1

python ×1