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:

  • 7 Lessons
  • Video Subtitles and Full Transcripts
  • Accompanying Text-Based Tutorial
  • Interactive Quiz to Check Your Progress
  • Q&A With Python Experts: Ask a Question
  • Certificate of Completion

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:

Participant Comments

Avatar image for Stephen Paden

Stephen Paden

Very informative!

Avatar image for gracebr28

gracebr28

Thanks for the great tutorial!

Avatar image for Karl

Karl

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

Avatar image for Malef

Malef

Thank for straightforward and informative way of presenting information.

← Browse All Courses