def formatstring(cols, colwidth=_colwidth, spacing=_spacing):
    spacing *= ' '
    return spacing.join(c.center(colwidth) for c in cols)
Returns a string formatted from n strings, centered within n columns.
dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/calendar.py/formatstring