how do i use python and c together ?

Hatice

New member
Acemi
28 Ağu 2023
3,257
0
0
How do I use Python and C++ together?
There are basically two ways to call C++ from Python: using the PyBind11 C++ library to produce a Python module, or using the cytpes Python package to access a compiled shared library. Using PyBind11 we can more easily share many data types, while using ctypes is a much lower-level C-style solution.Sep 15, 2022