Hi Johann,
You can try with ROOT.std.cout or any other ostream that you create from Python.
ROOT.std.cout
ostream
Cheers, Enric