My own python and C++ framework