Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


Is anybody else having difficulty with OOP in python?

I have been struggling with OOP in Python for a little while now I don't know why but, its just so damn confusing. the classes for the most part I understand but how to use certain dunders, if self should be used here or not, and among other things. Its getting kind of overwhelming to the point that I am getting frustrated.

12,964 Points

Hi Edward Polanco Murillo! I'm a ways past OOP now but, yes, I did have great difficulty understanding it. Even now I have issues with some of the concepts I learned then. I know this is just my approach, and it might not work for you. But, basically I took it easy, rewatched a video whenever I felt that I didn't have a grip on any given point, and took extensive notes. I still struggle with some of the concepts but, at least I still have my notes to fall back on. Don't get down, buddy. Confusion is bound to come with any topic you learn. Whenever you need help, the community is here to fall back on.

Hope this helps! And best of luck, :)


3 Answers

@nakalkucing I get that. Just curious how do you typically take notes because I notes as well. What I typically do is take down the code that the teacher did in the video + writing down certain concepts that the teacher introduces.

From my experience, it's hard to even take notes, what i do is i keep on repeating myself, finding more resources on google and further enhance my understanding. I think what is really needed to be understood are 3 key components, where, clear understand of instances, attributes, methods, and just go back and do the practice couple times a day just to make sure you nailed it

@Jay Zhang just curious aside from teamtreehouse what other resources do you (or anyone else for that matter) use to get a good grasp of OOP python

i've couple books to read(learning python, and python from crashcourse) and theres tons of other good materials on youtube.

yeah for me personally books dont really work for me unfortunately. I am more of a visual learner (i.e videos)