Skip to content

This repository contains basic examples illustrating concepts of Object Oriented programming with Python. You get to know how to write a class in python, initialize instances, class variables, inheritance in Python, writing getters and setters and the use of @classmethod, @staticmethod, @Property and dunder-methods like __repr__, __str__, __len_…

License

Notifications You must be signed in to change notification settings

sarvagya-dubey/PythonOOPConcepts

Repository files navigation

Python OOP Concepts

This repository contains basic examples illustrating concepts of Object Oriented programming with Python.

You get to know how to the following:

(i)Creating a class in python,

(ii)Initialize and instantiating class instances,

(iii)Using class variables,

(iv)Inheritance in Python,

(v)Writing getters and setters

(vi)The use of @classmethod, @staticmethod and @property

(vii)Dunder-methods: repr, str, len and add

(viii)Singleton class in Python

About

This repository contains basic examples illustrating concepts of Object Oriented programming with Python. You get to know how to write a class in python, initialize instances, class variables, inheritance in Python, writing getters and setters and the use of @classmethod, @staticmethod, @Property and dunder-methods like __repr__, __str__, __len_…

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages