Shell object not printing from Python

Pretty well what the subject says. Anyone know if this is expected behaviour or am I missing something? I tried running a python script from the Shell object and it should be working, but I’m not getting any output out of the shell object.

Rats, turns out it’s the program, not the shell object. The program is trying to get contextual information about the terminal and failing to do so because of the shell object. Back to the drawing board.