The script helps to convert C/C++ sources to C/C++ -like Python sources. It does some simple edit operations like removing semicolons and type declarations. After it you must edit code manually, but ...
This little project shows how to execute external python programs/scripts from inside a C++/Qt widget application ... complex to implement and requires to enter deeply in the Python/C API ...