Yours is a good explanation in very little time.
This is a perfect explanation. Nice work!
thank you so much for good explanation.
very clear explanation. You nailed it again!
when strings 'a' and 'b' are both identical, how come repr function on a and b yields different results?
The examples with datetime are very good. Thanks! 😀
Not clear with the repr , can you explain it with more example
Thank you for your work Corey. Your tutorials is perfect, minimalistic peace of art. I like your pronunciation, it’s very clear and 100% understandable. Your video is very compressed, without needless rumble and self promotion. I always wonder, how can you put so much information in such a short time. Brilliant, is what it is!
Great video! Could you explain why "pytz.UTC" didn't show up when you ran "repr"?
I cringe when i see U****y using your videos for adds
Got difference between str and repr. But having one question. str is a class and _str_ is a method. Even if str is a class, how we can easily write str(some object). Can you elaborate how str(some object ) works fine.
Great tutorials, although often I have to pause them to digest the material. That is not a complaint as I would rather that then waiting for the commentator to get to the point.
What editor are you using when you show the examples?
Your explanation while sufficient, really missing how powerful _str__ is
Put some small home task with solving at the and. Maybe it will be even more halpfull .Thank yo fo your work
Hello Corey! You do an amazing job at explaining complex things in a straight forward way. I started these videos and got addicted to it. Thanks for sharing. QQ – You mentioned that repr is for coders and help them in debugging. To that point, what repr is doing can be done with type(). Type(a) will return datetime.datetime and type(b) will return str. So my question is why to use repr. Do you mind sharing another example to make it more clearer. Thanks!
hey Corey, I have python 3.7 installed and it doesn't recognize the pytz library. Is pytz for older versions?
Great explanation , you've saved my day…
Awesome tutorial! Now I learned that python interpreter returns "repr()" instead of "str()". This made me to reflect a philosophy involving python debugging. I can understand the importance of the usability of repr(), since now.Thanks very much for sharing this.
Still don't get it. They both return a string no?
Nicely explained and thank
Cant, you just look at the type of the return value?
first three minutes is: its very hard to determind the difference between str and repr via the ways people tried before getting to dis video aka documentation and testing
no fucking shit its very hard to determind just hurry tf up and tell me wtf the difference is
longest intro ever
repr returns a string of the whole line without executing the code but str returns a string of the result . why would you not show the a and b variables in your example? Thats literally makes it harder to understand .Also at 6:27 when you are explaining this simple thing you dont make any sense.
very good video, thank you for this
Still dont get it
Thank you for sharing great knowledge!
Thank you Corey for your time and effort. Keep spreading the knowledge.
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.