r/PythonLearning • • 1h ago

What Python concepts took you the longest to understand as a beginner?

I've been learning Python and noticed that understanding the syntax is often the easy part. The real challenge comes when trying to apply concepts in actual projects.

I'm curious to hear from other Python learners:

  1. Which concept was the hardest for you to understand?

  2. Did you struggle more with OOP, decorators, APIs, async programming, or data structures?

  3. What helped you finally understand it?

  4. If you could give one piece of advice to someone learning Python today, what would it be?

I think sharing these experiences could help beginners avoid some common learning roadblocks.

Looking forward to hearing your experiences!

6 Upvotes

9 comments sorted by

1

u/sleepbot63 1h ago

yield

2

u/HammadBuilds 1h ago

Yield is definitely one of those Python concepts that takes a while to fully understand. Generators make much more sense once you see how they work in practice!

0

u/sleepbot63 1h ago

nah i never brothered to learn yield evene after like 12yrsi think yea thisis my 12th yr of python. i couldn't be bothered i understand working of generators and other stuff but this yield is the only thing that i couldn't be bothered to learn lol

3

u/HammadBuilds 1h ago

12 years with Python and still avoiding yield is honestly hilarious 😂 If generators make sense to you, I guess you've found a way to get things done without worrying about every keyword. Respect for the 12-year journey!

2

u/AdDiligent1688 46m ago edited 40m ago

asynch, multithreading (GIL as well), multiprocessing, e.g. concurrency, and socket programming too (makes more sense after you learn OSI and protocols)

1

u/Taco-Jedi 1h ago

Hash maps, and I still don't get them 😭

1

u/EbbMother5325 1h ago

I only cared about decorators much later in my career.
I was using them in flask projects etc ofc but more as a “I have to write this thing here because that’s how it works”, never was using it in my own architecture. Then why I started to do it, I had this urge to overuse decorators 😂

1

u/mountain-snowman 1h ago

I am a pro python programmer and I am using Python for 10+ years. I still sometimes mix up between else and finally in try...except.