I am learning python through immersion in python. I got a few questions and could not understand even through the documentation.
1) BaseClass
2) InheritClass
What exactly happens when we assign an instance of InheritClass to a variable, when InheritClass does not contain a method __init__, and BaseClass does?
- The BaseClass method is called
__init__automatically - Also tell me what's going on under the hood.
Actually the fileInfo.py example gives me a serious headache, I just can not understand how this works. Following
source
share