Convert Strings to Title Case
Titleize is a Python module to convert text to Title Case. Title Case is the text format that is commonly used in titles. Example:
There Is a Bird Over There. He Is a Robin
It may not look like much but there are specific rules to follow to make This format appealing to the human eye, and I've compressed it down into a Python module.
Titleize is extremely simple to use. Just pass your string to the function and its done! Example:
print(titleize.titleize("i like to look at birds. Birds are really cool animals."))
That would output
I Like to Look At Birds. Birds Are Really Cool Animals.
Pretty cool, right? What are you waiting for? Install it now with
pip install titleize
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.