In Matlab/Octave, if an expression does not end with a semicolon ; to silence it, its value is displayed on the output. However, this does not happen in oct2py - these values are printed only in case an exception happens later. I'd like to either capture and display the output, or just let it pass to the standard output - these are debug prints.
I suspect the answer will have something to do with the logger parameter of Oct2Py() constructor, but I just can't figure out how to put it together...