Комментарии:
thank you for making nice content! appreciate your work!
ОтветитьI was just here to listen 👂 to those soothing and accurate key strokes
ОтветитьLook at me! I use neovim! … on… ::squints:: windows 10
ОтветитьThanks for this great content!
ОтветитьNice!
ОтветитьAmazing explanation!! Thank you
ОтветитьWho feels proud to finally come to learning advance python from the beginner version?
👇
Thanks
ОтветитьGreat video.The Vector class example is not a vector, is a point in a 2D space:)
Ответитьthank you for your nice video
your video have good quality and people can learn thing form those .
thanks man
ОтветитьThanks dude, that's exactly what I need
Ответитьstarted from the beginner series to here thank you for making these videos!
ОтветитьThere's two mistakes worth mentioning here. When discussing _len__() you suggested that the correct way to do it for your Vector example would be Math.sqrt() to get the magnitude of the vector. __len_ is not just any arbitrary "length" it's supposed to be used to identify the items in a collection. It needs to return an int, not a float and you shouldn't be implementing dunder methods for some alternative use, it needs to keep the intended meaning. The other mistake was in _repr__(). There's __repr_ and _str_ and the reason why there's two of them for a very similar thing is because _repr_ isn't just some arbitrary string, it's supposed to be valid Python. As an example, the following should be true for a class where the _repr_ and _eq_ methods are properly implemented: "obj == eval(repr(obj))"
It's more or less serializing the object. You could have _str_ implemented exactly as you demonstrated, if _str_ is missing then converting to a string will fall back to using __repr__.
That is really cool! Great video thank you! Can't wait to try these in my coding. Looking forward to watching the rest of the video series
Ответитьin java, i don;t need to do obj.toString(), once defined, i can simply print it out as well
ОтветитьGreeting from Iran
Reza hajivand
Thank you so much. I will have an exam that covers this soon and this helped me understand very well.
ОтветитьDropped a like just for using Nvim. Automatically more trustworthy.
ОтветитьYou look the spit of a dude my son used to watch play Fortnite
ОтветитьThank you very much for the perfect lesson! Despite being very hard, I successfully persistent and have mastered perfectly!
ОтветитьThank you.
ОтветитьCan you tell me what IDE you use
ОтветитьLoving the series. Keep it up
Ответитьwhich background music did you use?
Ответитьi tried to learn python a bunch of times wish i started with the advanced stuff because beyond basic print input and out put stuff the rest just seems like static until this video!
Ответитьwell i like VS Code because it allows me to change zoom level, including the UI itself not just the text, then you can customize highlight and any other colors, you can also multi tab splitting the editor in multiple pages instead of running multiple IDE's and split them on screen, you can also do a lot of stuff with shortcuts, move between open files with CTRL+TAB, go to console and back to code with CTRL+ ` , open /close file explorer CTRL+B, it has support for basically any type of file extension (and if it doesn't it will popup the option to install a plugin for it)
have multiple terminals, and customize so much more with extensions
the best thing about it is that you can debug and have the code and the console in the same window
Thanks for sharing!
Ответить_repr_ method is for programmers, so should be return "Vector(60,80)".
ОтветитьIntro beat hitting harder than my dad's belt. T_T
ОтветитьI don't think this is advanced python, more like intermediate level. _repr_ in particular
But great video nonetheless
So _call_ only works in the bash console? I couldn't get it to show anything in IDLE
ОтветитьThanks for the lesson
ОтветитьNice video
Ответитьcan i get a video on how to make any custom class object completely immutable, i would love that indeed.
Ответитьgreat, as Java developer we need to learn quickly python to be operational
ОтветитьIf don't know but I think this letters are too small
Ответитьbuffed Tech with tim
ОтветитьLove the python video!
ОтветитьVery thanks for all your efforts and informative courses. I am learning a lot from your great contents.
Ответитьnice :D
Ответитьthe content is very informational. what IDE and theme are you using?.
ОтветитьYou made my day! That was the best simplest way to train these Dunders
ОтветитьSubscribed! Thanks!
ОтветитьI loved it not only liked it
Ответитьfrom last series you evolved from software engineer to navy technician xdxd
ОтветитьShit, this was so advanced
ОтветитьYou have a link for you vim dotfiles? Clean looking setup
ОтветитьWhat is your ide
It is vim new vim?