Python tip 15: string transliteration

Pubblicato il: 23 agosto 2022
sul canale di: learnbyexample
256
1

The `str.translate()` method accepts a table of codepoints mapped to another character or codepoint. Map to `None` for characters that have to be deleted. You can use the `ord()` built-in function to get the codepoint of characters. Or, you can use the `str.maketrans()` method to generate the mapping for you.

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


In questa pagina del sito puoi guardare il video online Python tip 15: string transliteration della durata di ore minuti seconda in buona qualità , che l'utente ha caricato learnbyexample 23 agosto 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 256 volte e gli è piaciuto 1 spettatori. Buona visione!