snrazavi / OOP_Python

A short course introducing Object Oriented Programming in Python.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OOP_Python

Object-Oriented Programming in Python.

Contents

  • Basic OOP concepts: classes and instances
  • Instance variables vs class variables
  • Class methods and static methods
  • Inheritance
  • Special class methods (dunder methods)
  • Decorators: properties, setters, getters
  • Class documentation

Course project: N-Body Simulation

  • Defining classes: Vector, Body, Universe
  • Implementing required classes
  • Running simulation

Example simulation results:

Videos

Reference

About

A short course introducing Object Oriented Programming in Python.


Languages

Language:Jupyter Notebook 100.0%