QUESTION
I would like to force Python's print function to output to the screen.
ANSWER
import sys
sys.stdout.flush()
print by default prints to sys.stdout
References:
- http://docs.python.org/reference/simple_stmts.html#the-print-statement
- http://docs.python.org/library/sys.html
- http://docs.python.org/library/stdtypes.html#file-objects