Call C++ in Python Posted on 2022-06-16 | In programming language , cross-language 1.ctypesimilar as in Python_call_C.mdadd extern “C” before each function, otherwise an error ‘undefined symbol’ will be thrown. However, something might go wrong on terms with complicated Class. 2.Use Boost.Pythonmore powerful and complicated