One way to do this is to write a script that prints your output (once), and then run the script using watch. The command watchwill automatically clear the screen and run the script every few seconds (usually 2 by default).
Python, curses, , VT100 -, :
print "\x1b[H\x1b[2J",
print "hello clear world"