+ 14

Is Python Object Oriented language?

Object Oriented of a programming language is using a methodology that enables a system to be modeled as a set of objects that can be controlled and manipulated in a modular manner.

24th Apr 2018, 7:12 AM
Mustafa Asaad
Mustafa Asaad - avatar
5 Answers
+ 8
Python is an object oriented programming language from its birth. Everything in python is object and almost everything has its methods and attributes. To check those you can use dir() e.g. : x=1 print(dir(x)) Will print all the attributes and methods of variable x But the most amazing thing is you can do all the basics stuff in python, without having a bit of understanding of objects
24th Apr 2018, 7:41 AM
Koushik Naskar
Koushik Naskar - avatar
+ 6
Yup.
8th May 2018, 4:53 PM
Junth Basnet
+ 2
Um... It's multi-paradigm because it does _not_ enforce OOP like, say, Java. You can use it procedurally. Most OO languages can have procedural structures. Java is stricter, which is why I cited it. Python is OO and procedural (and functional!) and probably a few more paradigms I'm unfamiliar with.
8th May 2018, 8:12 PM
non
0
yes
8th May 2018, 10:34 PM
â–șâ–ș Ferontwix ◄◄
â–șâ–ș Ferontwix ◄◄ - avatar