haven’t tried, but normal interactive RINT will not print the output of a line if the line is ended with a semi-colon ‘;’. So this:cnvs.AddExec("xxx",'TPython::Exec("pp();");')may do the trick. (Conversely, the ‘;’ in Exec() is unnecessary, since python doesn’t care.)