How to make Python and c++ work together | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to make Python and c++ work together

I heard that it's possible to make c++ and Python work together, so I'm interested, 1) how to do that? 2) is it possible to make something like this with other languages?

27th Nov 2016, 7:04 PM
Михаил Костенко
2 Answers
+ 2
You can embody it using Python-C API. Here is it's documentation: https://docs.python.org/3/c-api/intro.html Also take a look here: http://stackoverflow.com/a/1153635
28th Nov 2016, 1:18 PM
donkeyhot
donkeyhot - avatar
0
Thanks
28th Nov 2016, 6:44 PM
Михаил Костенко