python: String template replacement
capwords function
Capitalize each word in the sequence
def capwords(s, sep=None):
"""capwords(s [,sep]) -> string
Split the argument into words using split, capitalize each
word using capitalize, and join the capitalized words using
join. If the optional second argument sep is absent or None,
runs of whitespace chara ...
Added by jeff8j on Fri, 18 Feb 2022 17:44:55 +0200