Python Tutorial: str() vs repr()

Pubblicato il: 15 giugno 2015
sul canale di: 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


In questa pagina del sito puoi guardare il video online Python Tutorial: str() vs repr() della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Corey Schafer 15 giugno 2015, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 127,088 volte e gli è piaciuto 3.3 mille spettatori. Buona visione!