[Python-3000] Format specifier proposal

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Aug 13 01:46:20 CEST 2007


Talin wrote:
> :s10 # String right-aligned within field of minimum width
> # of 10 chars.

I'm wondering whether the default alignment for
strings should be left instead of right. The C
way is all very consistent and all, but it's not
a very practical default. How often do you want
a right-aligned string?
--
Greg


More information about the Python-3000 mailing list

AltStyle によって変換されたページ (->オリジナル) /