Which Python String Formatting to use?

Jayden Chua
4 min readNov 12, 2019

Here are my go-to steps to decide which python string formatting to use.

Overview

There are different ways to format strings in Python. I quickly summarize the different methods here. You should dig deeper to see how these techniques can be used in your respective scenarios.

  1. Formatting with the % operator

--

--

Jayden Chua

An avid web developer constantly looking for new web technologies to dabble in, more information can be found on bit.ly/jayden-chua