repr y str de Python

About the work

En Python es importante comprender claramente la diferencia entre __repr__ vs __str__, lo que nos brindará el poder utilizarlos siempre que creemos cualquier clase personalizada. Para poder entenderlo con ejemplos, vamos a utilizar una clase personalizada de Python muy sencilla en la que guardaremos deportes, inicializaremos en el __init__ un listado de deportes (self.listado_deportes) y … Continúa leyendo repr y str de Python
La entrada repr y str de Python se publicó primero en Jarroba.

Article
informática
desarrollo
repr
eval
format
str
python
lenguajes de programación
informática
desarrollo

Copyright registered declarations

RI
Ramón Invarato Menéndez
Author
Consolidated inscription:
Attached documents:
0
Copyright infringement notifications:
0
Contact
RM
Ricardo Moya García
Author
Consolidated inscription:
Attached documents:
0
Copyright infringement notifications:
0
Contact

Notify irregularities in this registration

Related registrations

Version of

1902179973460
repr y str de Python
02/18/2019
Ramón Invarato Menéndez
En Python es importante comprender claramente la diferencia entre __repr__ vs __str__, lo que nos brindará el poder utilizarlos siempre que creemos cualquier clase personalizada. Para poder entenderlo con ejemplos, vamos a utilizar una clase personalizada de Python muy sencilla en la que guardaremos deportes, inicializaremos en el __init__ un listado de deportes (self.listado_deportes) y … Continúa leyendo repr y str de Python La entrada repr y str de Python se publicó primero en Jarroba.
Creative Commons Attribution Non-Commercial Share Alike 3.0

New version

1904200706597
repr y str de Python
04/20/2019
Ramón Invarato Menéndez
En Python es importante comprender claramente la diferencia entre __repr__ vs __str__, lo que nos brindará el poder utilizarlos siempre que creemos cualquier clase personalizada. Código en GitHub (Recomiendo primero leer el artículo y descargar/clonar el código al final): https://github.com/Invarato/JarrobaPython/tree/master/repr_y_str Para poder entenderlo con ejemplos, vamos a utilizar una clase personalizada de Python muy sencilla en … Continúa leyendo repr y str de Python La entrada repr y
Creative Commons Attribution Non-Commercial Share Alike 3.0
Print work information
Work information

Title repr y str de Python
En Python es importante comprender claramente la diferencia entre __repr__ vs __str__, lo que nos brindará el poder utilizarlos siempre que creemos cualquier clase personalizada. Para poder entenderlo con ejemplos, vamos a utilizar una clase personalizada de Python muy sencilla en la que guardaremos deportes, inicializaremos en el __init__ un listado de deportes (self.listado_deportes) y … Continúa leyendo repr y str de Python
La entrada repr y str de Python se publicó primero en Jarroba.
Work type Article
Tags informática, desarrollo, repr, eval, format, str, python, lenguajes de programación, informática, desarrollo

-------------------------

Registry info in Safe Creative

Identifier 1902240040657
Entry date Feb 24, 2019, 8:15 PM UTC
License Creative Commons Attribution Non-Commercial Share Alike 3.0

-------------------------

Copyright registered declarations

Author. Holder Ramón Invarato Menéndez. Date Feb 24, 2019.
Author. Holder Ricardo Moya García. Date Feb 24, 2019.

-------------------------

Related registrations

Version of: 1902179973460 - repr y str de Python
New version: 1904200706597 - repr y str de Python


Information available at https://www.safecreative.org/work/1902240040657-repr-y-str-de-python
© 2026 Safe Creative