Skip to content

Mouly22/OOP-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OOP-Python

OOP is one of the basic concepts and even though Python does not support all kinds of OOP operations, we somehow manage to sort all kinds of operations.

However, the basics of Python is a must to understand OOP concepts, so it's better to learn the basic python first. or else we will feel like

First of all, there is a class(which we can consider as a blueprint) and we make objects using that blueprint. There is not limit of numbers for making objects from a class. BUT, all the objects will be different in a class.

'self' is one of the most used but misconceptual word in OOP. I have been many people describing self in wrong ways. In easy word, it is a chair for the objects through which we are calling our class.


In python, we can not use same method with different parameters, the latest one is always countable which most of the time raises an error, same goes for constructors.

For this reason, we do method and constructor overloading and use (*args, **kwargs) if we do not know our argument input size.

Read this --> All about OOP

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published