How do you insert variable values into a string? In this video, I show how to use str.format, str.format_map, and f-strings. I also look at some of the mini-language used in their formatting.
In addition to these videos, I have an active blog and free, weekly "Better developers" mailing list; see more at https://lerner.co.il/ .
Subscribe to this channel, as I try to go through all of the Python standard library!
On this page of the site you can watch the video online Python standard library: Formatting strings with a duration of hours minute second in good quality, which was uploaded by the user Python and Pandas with Reuven Lerner 27 June 2019, share the link with friends and acquaintances, this video has already been watched 756 times on youtube and it was liked by 36 viewers. Enjoy your viewing!