--- _db_id: 171 content_type: topic ready: true tags: - oop title: Intro OOP(Object-oriented Programming) for Python --- This is a reading presentation of Object-oriented Programming (OOP) for Python. ### Note This is an introduction, this is just to give you a clearer perspective on [OOP](https://drive.google.com/file/d/1DzMx2P8xSBCp3HdTU8KgXXRNUA3GaXga/view?usp=). ## Youtube videos - [Python OOP 1 - Classes and Instances](https://youtu.be/ZDa-Z5JzLYM) - [Python OOP 2 - Class Variables](https://youtu.be/BJ-VvGyQxho) - [Python OOP 3 - Classmethods and Staticmethods](https://youtu.be/rq8cL2XMM5M) - [Python OOP 4 - Inheritance](https://youtu.be/RSl87lqOXDE) - [Python OOP 5 - Special (Magic/Dunder) Methods](https://youtu.be/3ohzBxoFHAY) - [Python OOP 6 - Property Decorators](https://youtu.be/jCzT9XFZ5bw) ## Reading https://realpython.com/python3-object-oriented-programming/ ## Some Example Code The code below shows demonstrates composition and a little bit of inheritance. There is a lot more to be said about OOP. {{% code_snippet "cars.py" %}}