print formating for matrix/table

Vincent Davis vincent at vincentdavis.net
Mon Jan 26 19:18:39 EST 2009


I have a list of lists....a matrix in that all sub lists are the
same length. I there a nice why to prin these so that the columns and rows
line up nicely?
I have looked around for a good way to do this and haven't found one I am
like. It seems that all involve repeating a print for each line. I would
have thought I could find a prebuilt function to do this. Surly lots of
people are printing matrixes and would like nice formating. So what am I
missing?
Vincent Davis
720-301-3003
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090126/7ab85eb8/attachment.html>


More information about the Python-list mailing list