Adding a python script project in C ++

How do I add a python script add to a C ++ project? Thanks

Edit: basically all the script is emails. I would like to pass data and possibly an email address for a function written in python. Hope this clarifies the situation.

+3
source share
3 answers

You can look at Boost.Python , which is a "C ++ library that provides seamless interoperability between C ++ and the Python programming language."

However, you must be more specific.

+3
source

Boost.Python: API Python/C: Python. API Python C Boost.Python . Python C-, .

+3

script, .

system("myscript.py param1 param2") 
+1

Source: https://habr.com/ru/post/1740871/


All Articles