What is a Class in python, what does it do, why is it needed? [duplicate]
Possible Duplicate:
Do I correctly understand what a class is?
Before you rant and rage and scream at me, understand that I tried searching everywhere, from google to this very site on what exactly a class in python is. I have found definitions of sorts, but have never been able to understand them fully. So here's the question. What is a class in python, what does it do, and why is it used?
Class
(in any language) basically help in implementing OOPS. By Following these principles, it becomes easier to maintain code & make changes etc.
I guess you start off by reading what OOPS is & then come back to Python.
精彩评论