> On Behalf Of [EMAIL PROTECTED] > bo, daf, da > pres, ppar, xppc > magnjklep, *, dsa > *, *, nbi > > But I want it justified, i.e: > > bo , daf, da > pres , ppar, xppc > magnjklep, *, dsa > * , *, nbi
Once you have a nice rectangular list of lists, you might want to take a look at my padnums module. # Usage: import padnums import sys table = [row for row in izip_longest(*d, fillvalue='*')] padnums.pprint_table(sys.stdout, table) Code described here, with link to module: http://ginstrom.com/scribbles/2007/09/04/pretty-printing-a-table-in-python/ Regards, Ryan Ginstrom -- http://mail.python.org/mailman/listinfo/python-list