Passing an integer after the ':' will cause that field to be a minimum number of characters wide.
Between serializing and deserializing, the string representing the object may have been stored in a file or data, or sent over a network connection to some distant machine.
One question remains, of course: how do you convert values to strings? If you run into problems, visit the Common Pitfalls section at the bottom of this page.
The standard module called json can take Python data hierarchies, and convert them to string representations; this process is called serializing. More information can be found in the printf-style String Formatting section.
An optional ':' and format specifier can follow the field name. Beginner Friendly Tutorials for Programmers What do you want to learn today?