[Tutor] Usefulness of classes and necessity of inheriting classes
Reuben
reuben.dlink at gmail.com
Mon Nov 25 07:37:47 CET 2013
Hi,
Question no 1:
----------------------
I would like to know why do we actually inherit classes? What would be the
benefit of inheriting?
If possible, a practical example would be of great help
Question no 2:
----------------------
Why would I ever use a class? I understand this is strange question
May be an example to make me understand would be useful.
Or may be answering the question should be rephrased as "Why not use
modules instead of classes?"
Regards,
Reuben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20131125/65515e43/attachment.html>
More information about the Tutor
mailing list