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

str.capitalize

capitalize()

Return a copy of the string with only its first character capitalized.

For 8-bit strings, this method is locale-dependent.