Skip to content

A short course introducing Object Oriented Programming in Python.

Notifications You must be signed in to change notification settings

snrazavi/OOP_Python

Repository files navigation

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

Releases

No releases published

Packages

No packages published