@albanD Thanks a lot, it is very helpful!
I wonder how exactly (through which function) the string output is thrown from C to python so that I get to see it in console? because it does not have codes like `getattr(…name of C functions …)(…args…)