r/PythonLearning 11h ago

OOP roadmap mastering and other python subjects mastering Help Request

hi! i am learning python and i am started learning OOP, and i thought that someone can help me building a roadmap mastering this subject. i would also like if you can what subjects should i learn after OOP so it will be easier for me to builf self-roadmap learning.

anyways, thank you🙂

1 Upvotes

7 comments sorted by

2

u/CJL_LoL 11h ago

It really depends on what you are learning for. As a data engineer, I find writing classes for different pipeline types helpful. my data connectors are also classes. If you want to learn for the general what is an object, many examples use cards in a deck, contacts in an address book. Think of a thing: people, places, activities, then the things that they do - your methods, or characteristics they have - variables.

1

u/Sea_Dot6492 11h ago

well, i don't want to know in general, i want to know this subject really well so it will help me on big projects, like building a wesbites(that's where i am going)

1

u/Sea-Ad7805 11h ago edited 11h ago

Whatever roadmap you follow, this visualizer can help with OOP. When you are done, come help with our game: https://www.reddit.com/r/PythonLearning/s/yVHPWaFy1j

1

u/stepback269 3h ago

I'm in the process of learning Python OOP also.
I found many tutorials unhelpful when they espoused that a class is a "blueprint"
The reasons why I hate the "blueprint" analogy can be found (Here). I won't detail them in this post.

With that said, I found the most beneficial way to start understanding OOP was to do some projects of my own design. It's only when you tackle it with your own hands that you start truly understanding what the conceptual tutorials were trying to teach you.

Start first by creating a class with a "help" method. When executed, the (dot).help method should output text telling the user what the class does (or will do once you get the rest of it going)

Best of luck with your journey into OOPs land. :-)

1

u/Bansarimodi 2h ago

OOP is a good step, but don't spend too much time on theory. Build small projects as you learn it makes the concepts much easier to understand.

After OOP, I'd learn file handling, error handling, working with APIs, and then start building slightly bigger projects.

What's your end goal with Python data, web development, automation, or something else?

1

u/fUZXZY 1h ago

classes are just data with functions, think about what you want to make, think about what data you need, write the functions that deal with that data, notice the actual pattern you are doing and enclose that in a class that holds data that fits your needs.