Python String Formatting Tips & Best Practices

Learn the four main approaches to string formatting in Python, as well as their strengths and weaknesses. You’ll also get a simple rule of thumb for how to pick the best general purpose string formatting approach in your own programs.

What’s Included:

About Paul Mealus

Paul studies ways to leverage technology to empower business and make life better. Paul has a life goal to become a CIO and more importantly, pet every dog in the world.

» More about Paul

Each tutorial at Real Python is created by a team of developers so that it meets our high quality standards. The team members who worked on this tutorial are:

Related Courses:

Participant Comments

Avatar image for Abby Jones

Abby Jones on June 27, 2019

Very informative!

Avatar image for gracebr28

gracebr28 on June 4, 2019

Thanks for the great tutorial!

Avatar image for Karl

Karl on May 4, 2019

Hey, as a not native english speaker, it is easy to me to understand your speech. Thanks! :-)

Avatar image for Malef

Malef on April 14, 2019

Thank for straightforward and informative way of presenting information.

← Browse All Courses