Introduction to Python Classes - Object-Oriented Python
Loading...
542
views
Loading...
Uploader Comments (fireboxtraining)
see all
All Comments (4)
-
awesome... thanks!
-
Easy to understand and usefull! Is that private attributes means loading data from outside?
Loading...
Useful video! However, is there a way to change class attributes in instances?
pdeteresa 4 months ago
@pdeteresa - what exactly are you trying to accomplish? If you are not implementing encapsulation using private attributes, you can simply create the attributes on the fly using dot notation with the instance. However, using private attributes is a better practice. We'll try to upload another video tutorial on implementing private attributes soon.
fireboxtraining 4 months ago