;ò 7Z—Ac@s¢dkZdkZdkZdklZdZdZhZded>> heading=[('a','A'), ('b', 'BB'), ('c','CCCCCCCCCCCCCCCC')] >>> table=[ {'b':'there', 'a':'hello', 'c':'cat' }, {'b':'are', 'a':'howwwww', 'c':'dog' }, {'b':'this evening','a':'you', 'c':'fish' }, {'b':'chris', 'a':'mr', 'c':'giraffe'}, ] >>> print tabulate(heading, table) A BB CCCCCCCCCCCCCCCC ------------------------------------- hello there cat howwwww are dog you this evening fish mr chris giraffe cCsvh}xe|iƒD]W}t||ƒ}t||ƒ}t|ƒt|ƒjo|||sss%%-%ss iÿÿÿÿs s%s s-cCs||S(N(sxsy(sxsy((sK/mnt/gmirror/ports/textproc/py-tvgrab/work/pytvgrab-lib-0.5.1/lib/output.pysšsiN(sget_maxsdictsmapsreducestablesheadingsitemss max_lengthssresultsksvsboldslens strip_escapesnsfmtsvaluesstuplestoprint( sheadingstablestuplesget_maxsksfmtsns max_lengthssresultsv((sK/mnt/gmirror/ports/textproc/py-tvgrab/work/pytvgrab-lib-0.5.1/lib/output.pystabulatess* 0  $ 7 , ( sosssyssres config_localestoprints havecolorsdotitlesscodess xtermTitlesxtermTitleResetsnotitlessnocolors resetColorsctextsboldswhitesteals turquoisesdarktealsfusciaspurplesbluesdarkbluesgreens darkgreensyellowsbrowns darkyellowsredsdarkreds strip_escapestabulate(s strip_escapes havecolorsyellowsnotitless darkyellowsbluescodesspurplesrestabulateswhitesreds resetColorsbrowns turquoisesbolds xtermTitlessyssdarkredsxtermTitleResetstoprints darkgreensdarktealsfusciasnocolorsdarkbluesgreenstealsctextsossdotitles((sK/mnt/gmirror/ports/textproc/py-tvgrab/work/pytvgrab-lib-0.5.1/lib/output.pys? sX