Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 497 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 497 Bytes

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