As a string can be left-justified (within a given width) using e.g. '%-20s' % s and right-justified using '%+20s' % s # or '%20s' % s why not allow a string to be centered using '%=20s' %s Rob Cliffe