Python Tutorial: str() vs repr()

Publicado el: 15 junio 2015
en el canal de: Corey Schafer
127,088
3.3k

A common question that pops up when dealing with python is: What is the difference between __str__() and __repr__()? It may not be obvious right off the bat, so let's take a look at this in-depth.

The code from this video can be found at:
https://github.com/CoreyMSchafer/code...


✅ Support My Channel Through Patreon:
  / coreyms  

✅ Become a Channel Member:
   / @coreyms  

✅ One-Time Contribution Through PayPal:
https://goo.gl/649HFY

✅ Cryptocurrency Donations:
Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot

✅ Corey's Public Amazon Wishlist
http://a.co/inIyro1

✅ Equipment I Use and Books I Recommend:
https://www.amazon.com/shop/coreyschafer

▶️ You Can Find Me On:
My Website - http://coreyms.com/
My Second Channel -    / coreymschafer  
Facebook -   / coreymschafer  
Twitter -   / coreymschafer  
Instagram -   / coreymschafer  

#Python


En esta página del sitio puede ver el video en línea Python Tutorial: str() vs repr() de Duración hora minuto segunda en buena calidad , que subió el usuario Corey Schafer 15 junio 2015, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 127,088 veces y le gustó 3.3 mil a los espectadores. Disfruta viendo!