I know that I\'ve seen some example somewhere before but for the life of me I cannot find it when googling around.
I have some rows of data:
data = [[1,2
You could try to use the following function
def tableIt(data): for lin in data: print("+---"*len(lin)+"+") for inlin in lin: print("|",str(inlin),"", end="") print("|") print("+---"*len(lin)+"+") data = [[1,2,3,2,3],[1,2,3,2,3],[1,2,3,2,3],[1,2,3,2,3]] tableIt(data)