Skip to content

Tom Ron

Engineering Manager, Software Engineer, Data Scientist

Tag: title

How To Capitalize All Words in a String in Python – The Easy way

I run into this medium post today – “How To Capitalize All Words in a String in Python“.

It explains how to convert “hello world” to “Hello World” but it does it the hard way. An easier solution would be to use title function.

x = "hello world"
print(x.title())
#Hello World

See more documentation here

tom Uncategorized 2 Comments March 3, 2020March 3, 2020 1 Minute

Recent Posts

  • Kill Skill
  • Make PRs Logical Again
  • 7 Lessons I Learned from Rugby Sevens About Engineering Leadership
  • 5 interesting things (12/02/2026)
  • Making Money in Uncertain Times

Recent Comments

Nicole S's avatarNicole S on 5 Python NLP pacakges
blissful4bdd2399fa's avatarblissful4bdd2399fa on CSV to radar plot
tom's avatartom on CSV to radar plot
Matt's avatarMatt on CSV to radar plot
“ – Tom… on 📚 Book club Q1 2024 – 3…

Archives

  • March 2026
  • February 2026
  • January 2026
  • December 2025
  • November 2025
  • September 2025
  • August 2025
  • July 2025
  • May 2025
  • March 2025
  • November 2024
  • July 2024
  • May 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • October 2023
  • September 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • February 2023
  • December 2022
  • November 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • February 2022
  • December 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • December 2020
  • November 2020
  • October 2020
  • July 2020
  • June 2020
  • March 2020
  • February 2020
  • January 2020
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • January 2019
  • November 2018
  • August 2018
  • December 2017
  • October 2017
  • July 2017
  • March 2017
  • February 2017
  • November 2016
  • October 2016
  • August 2016
  • June 2016
  • May 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • February 2015
  • January 2015
  • December 2014
  • November 2014
  • October 2014
  • September 2014
  • August 2014
  • July 2014
  • June 2014
  • May 2014

Categories

  • Uncategorized

Meta

  • Create account
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.com
Blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Subscribe Subscribed
    • Tom Ron
    • Already have a WordPress.com account? Log in now.
    • Tom Ron
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar