[Python-ideas] Format character to center strings
Mark Lawrence
breamoreboy at yahoo.co.uk
Sat Mar 28 19:11:44 CET 2015
On 28/03/2015 14:56, Rob Cliffe wrote:
> 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
>
This http://bugs.python.org/issue23624 was rejected so I see two chances
of this happening, zero or none.
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
More information about the Python-ideas
mailing list