Python's two different string representations

Publicado em: 10 Outubro 2022
no canal de: Python Morsels
394
18

In Python, we have two different string representations: the human-readable string representation and the programmer-readable string representation (called repr and str respectively).

Read an article version of this video at https://pym.dev/pythons-two-different...

Find more Python screencasts at https://pym.dev/screencasts/

00:00 str vs repr
01:18 repr: the programmer-readable string representation
01:58 Most objects just have one string representation
02:36 Recap: all objects define repr and str calls repr by default


Nesta página do site você pode assistir ao vídeo on-line Python's two different string representations duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Python Morsels 10 Outubro 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 394 vezes e gostou 18 espectadores. Boa visualização!