I'd suggeest using the curses library, which is part of the standard python libraries http://docs.python.org/2/library/curses.html
I've included a bit of a hacked together example
import curses
import time
mywindow = curses.initscr()
matrix = [[3,2,3],[1,2,1],[2,8,6]]
def updateMatrix(m):
m[1][1] = m[1][1] * 2
return m
def getMarixString(m):
x = ''
for row in m:
x += ' '.join(str(item) for item in row)
x += "\n"
return x
z = 10
while z > 1:
matrix = updateMatrix(matrix)
mywindow.addstr(0,0, getMarixString(matrix))
mywindow.refresh()
z -= 1
time.sleep(3)
curses.endwin()
quit()