r/PythonLearning • • Oct 28 '26

I don't understand OOP

So i am a teen learning python, and i have learnt about classes, methods and objects, but i don't understand OOP, like what is it, where do we use it?

Please help mee

36 Upvotes

50 comments sorted by

View all comments

1

u/recentAd1666 Oct 31 '26

Oop is using what you listed : class methods objects ... And stop using simple functions.

Try to fit the whole code into separate objets.

This is more interesting when you have larger code and several developpers working on same project or app.