I have to pipe the output of a Python program to a file because of some restrictions on the machine where I am running my code. There are several print statements in the program. I want to see those print statements on my terminal. How can I do that?