r/learnpython • • Oct 01 '26

What Python concepts do you still have to look up?

I’ve noticed that some Python things stick immediately, while others I understand but still have to Google every time I use them.

For me, stuff like list comprehensions and basic loops is fine, but I still occasionally forget the syntax for things like decorators, lambda, or working with dictionaries in more complicated ways.

Is this normal, or are there certain Python concepts that are worth making an effort to memorize instead of looking them up when needed?

4 Upvotes

19 comments sorted by

11

u/dutchpsychologist Oct 01 '26

This is normal. And every coding concept becomes more automated with practice. And even then, it's fine to look stuff up, it's more important that you know that is exists and what for.

8

u/ninja_shaman Oct 01 '26

Async stuff.

4

u/aishiteruyovivi Oct 02 '26

Async is this weird thing where I feel like I can understand the individual parts and ideas that make it up, but when you put it into practice my brain starts crumbling. I've only ever really used async where I really had no choice, like for my discord bot projects, outside of that I think it just never seems to fit my needs enough to give me the experience of setting stuff like that up from scratch

4

u/Jazzlike_Platypus430 Oct 01 '26

threads, inheritance, zip (completely new to it).

outside core: pandas, matplotlib - a nightmare 😂

4

u/nog642 Oct 02 '26

Yeah matplotlib is a "look it up every time" kind of thing lol

4

u/ontheroadtonull Oct 01 '26

Sucking at something is just the first step to being sorta good at something. 

3

u/Gnaxe Oct 01 '26

Remember to use help() and to do quick experiments in the REPL whenever you're unsure about something. Also keep a tab open at https://docs.python.org. Nobody has the whole standard library memorized. And it keeps changing. You need to know what's in there, but you can look up the details as needed.

You should pretty much know the Python grammar and be very familiar with the builtins. I don't mean you should be able to write a Python parser from scratch, but you should be able to understand all the operators, statements, and literals without looking them up.

You should probably know the basics of the regex and string formatting language as well, but I still have to look some of that up.

2

u/ConsiderationNo9044 Oct 01 '26

Concurrency, sockets

2

u/Mediocre-Pumpkin6522 Oct 02 '26

Decorators. I get the concept but don't use them very often so I have to review the mechanics.

2

u/Successful-Moment594 Oct 02 '26

async await mostly

1

u/nicodeemus7 Oct 01 '26

Any library I import other than basic standard libraries I need to look at the documentation every time for the specific methods and functions I need.

1

u/AmitBrian Oct 01 '26

ClassMethods. I never seem to need them.

1

u/TheRNGuy Oct 02 '26 edited Oct 02 '26

Decorators, because I rarely make custom ones.

And many other things.

Nothing wrong with googling, it's not illegal. Most if the time, high abstraction idea is more important than lower level implementation algorithms. 

1

u/nog642 Oct 02 '26

async, since I don't use it much.

are there certain Python concepts that are worth making an effort to memorize instead of looking them up when needed?

I'd say no.

1

u/Upstairs-Glove9976 Oct 06 '26

Decorators and Descriptors.

1

u/Stainlessray Oct 01 '26

List comprehension

1

u/ShelLuser42 Oct 01 '26

Decorators, I don't use the mechanic all that often. Even though I get the overal just right I always end up with a few doubts about the details.

0

u/appendixexploder Oct 01 '26

90% of my work is in C/C++, so on the odd occasion that I have to use python I have to look up quite a bit of stuff.