Location via proxy:
[ UP ]
[Report a bug]
[Manage cookies]
No cookies
No scripts
No ads
No referrer
Show this form
Home
Python
2D
Application
Buildin Function
Class
Data Structure
Data Type
Database
Development
Dictionary
Event
Exception
File
Function
GUI Pmw
GUI Tk
Language Basics
List
Math
Network
String
System
Thread
Tuple
Utility
XML
Class Inheritance « Class « Python
Python
Class
Class Inheritance
1.
Use __class__, __bases__ and __dict__ for sub and super class
2.
Print out class tree
3.
Class inherited
4.
Inherited method
5.
Polymorphism: override the function from base class
6.
Definition and test function for class Circle which is based on Point class
7.
Derived class inheriting from a base class.
8.
Multiple Inheritance
9.
inheriting from multiple superclasses
10.
Use Inheritance to add more features to a class
11.
class extending dict type
12.
Class inheritance: inherit member variable override function