2014 Python Lecture. Part VIII
In this lecture I'll introduce the basic (and some not that basic) concepts of Object Oriented Programing. I'll use an example to show how to:- use functions to do simple jobs
- but use objects when things start to be more complex
- define classes, objects, attributes, methods, etc...
- use *args and **kwargs in functions calls
- use the class variables
- add functionalities to classes and objects
- use class inheritance
- use attributes properties
https://github.com/Morisset/Python-lectures-Notebooks/blob/master/Notebooks/OOP.ipynb
No comments:
Post a Comment