![Hands-On Enterprise Application Development with Python](https://wfqqreader-1252317822.image.myqcloud.com/cover/36/36699036/b_36699036.jpg)
上QQ阅读APP看书,第一时间看更新
The basic OOP principles
A language cannot be considered an object-oriented language merely based on the fact that it supports classes and objects. The language will also need to support a set of different functionalities, such as encapsulation, polymorphism, composition, and inheritance, to be considered an object-oriented langauge. Python in this regard supports a lot of OOP-based concepts, but does it a bit differently due to its loosely typed nature. Let's take a look at how these features differ in Python.