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!
Sur cette page du site, vous pouvez voir la vidéo en ligne Python standard library: Formatting strings durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Python and Pandas with Reuven Lerner 27 juin 2019, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 756 fois et il a aimé 36 téléspectateurs. Bon visionnage!