Python tip 10: removeprefix and removesuffix string methods

Publié le: 10 mai 2022
sur la chaîne: learnbyexample
375
5

Python supports a lot of string methods that reduces the need for regular expressions. The `removeprefix()` and `removesuffix()` string methods were added in Python 3.9 version. These methods will help you delete an exact substring from the start and end of the input string respectively.

This video is based on content from my "100 Page Python Intro" ebook: https://github.com/learnbyexample/100...


Sur cette page du site, vous pouvez voir la vidéo en ligne Python tip 10: removeprefix and removesuffix string methods durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur learnbyexample 10 mai 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 375 fois et il a aimé 5 téléspectateurs. Bon visionnage!