We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.

str.center

center(width[, fillchar])

Return centered in a string of length width. Padding is done using the specified fillchar (default is a space). Changed in version 2.4: Support for the fillchar argument.