You can use Boost.Python that helps you in calling C/C++ from Python:-
So, the Boost Python Library is a framework for interfacing Python and C++. This library is used for quickly and seamlessly exposure of C++ classes functions and objects to Python, and vice-versa, using no special tools -- just your C++ compiler.
Another thing in Python we have ctypes which is a part of the standard library and therefore is more stable and widely available.
When you use ctypes, you need to satisfy any compile-time dependency on python, and your binding will work on any python that has ctypes, not just the one it was compiled against.