Just to add to the content, getattr can also work with methods inside class. Let’s say you got a Bot class with a method named display, you can use getattr(Bot(), “display”)() to dynamically call the methods.
This was a jewel. I am more comfortable with Functional Programming with Pandas. Trying to have a RAD flow with OOP has been very challenging for me. This was the missing link. How or Can the OOP be a dataset to sync with a DB? I never understood how the OOP Devs managed the data efficiently. To me, it seems like if the server goes down they lose all of the data because it wasn't a DB. Maybe it was a DB, but this is my delima. Anyway, Thanks for sharing 🎉
guys you can also use self.__dict__['key'] to add , change , remove or find if class attributes exists. It works similar to globals() and returns a dictionary of class attributes.
Just to add to the content, getattr can also work with methods inside class. Let’s say you got a Bot class with a method named display, you can use getattr(Bot(), “display”)() to dynamically call the methods.
Clear and to the point. Awesome stuff! 🚀
Is'nt the comments for this video are less MAN I mean he explained everything so nicely..
NeuralNine should be renamed NeuralTenOutOfTen. Thank you for this great video
sehr schöner Content!
Neuralnine have you tried Mojo?
Thank you ❤
Thanks very useful.
This was a jewel. I am more comfortable with Functional Programming with Pandas. Trying to have a RAD flow with OOP has been very challenging for me. This was the missing link. How or Can the OOP be a dataset to sync with a DB?
I never understood how the OOP Devs managed the data efficiently. To me, it seems like if the server goes down they lose all of the data because it wasn't a DB. Maybe it was a DB, but this is my delima.
Anyway,
Thanks for sharing 🎉
Perfect
guys you can also use self.__dict__['key'] to add , change , remove or find if class attributes exists. It works similar to globals() and returns a dictionary of class attributes.
I wanna cry, why my tech hasn't taught that 😢
interesting .
Your head morphed into gta san andreas character
Bro I want to learn subprocess
its good video please don t show your face
Wrong
man your voice tone has changed a bit. you okay?