Python print() inside my script is not coming out

Hm… Admittedly, I’m not one of the local Python experts, but this sounds like stdout buffering:

(Basically, there’s often a holding bin that saves output up to 65536 bytes or so, for efficiency, before actually sending it on to the lower-level I/O channel.)