I have been programming for quite a while in Python but have just started to learn OOP properly. I find it really confusing and I don't really understand it. Especially the implicit self that python automatically passes. It just isn't clicking, really. May someone provide an easy explanation of what classes and objects are in general and how they are used in Python?
asadmoosvi
0
Newbie Poster
Recommended Answers
Jump to PostHere is a long video tutorial about this.
All 2 Replies
Gribouillis
1,391
Programming Explorer
Team Colleague
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
rubberman
commented:
Other than changing "class definition" to "class implementation" on th last line, works for me! :-)
+12
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.