+ 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.
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
+ 6
Yup.
+ 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.
0
yes