In this video, the third of a three-part series about object-oriented programming in Python, I show how to extend an existing class through inheritance (or subclassing). This allows you to create new classes that inherit all functionality of existing classes while extending or changing this functionality. (For more Python tutorials, see python.cogsci.nl. For the Rapunzel IDE, see rapunzel.cogsci.nl/)
Негізгі бет Inheritance [Object-oriented programming in Python, pt. 3]
Пікірлер: 11