Python vs C++ -speed

I don’t have any examples right now, but what I recommend is always writing your main code in Python and the little but often repeated “sub-routines” in C/C++.
It’s the best way to use both Python’s accessibility(program development speed in terms of time needed to write a program), and C’s execution speed.