(The codes used here are similar to another question I posted today, but the two questions are different)
I am using a complex C++ code with a Python3 interface (usin