+ 13
Is it possible to mix c++ and python?
6 Respostas
0
what do you mean by "mix"?
0
You can execute C code with cffi (in the standard library, IIRC)
0
you can't use py code inside a cpp class or vice versa
0
A module that allows to execute C code.
You can read the manual for further information, because I don't know anything about it, except that it can execute C code
0
welcome
0
Python is often used as a scripting language for C++. There’s a lot of libraries that can allow you to do this. But you will never be able to put Python code in a C++ class.