We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.

sys.displayhook

displayhook(value)

If value is not None, this function prints it to sys.stdout, and saves it in __builtin__._.

sys.displayhook is called on the result of evaluating an expression entered in an interactive Python session. The display of these values can be customized by assigning another one-argument function to sys.displayhook.