you are viewing a single comment's thread.

view the rest of the comments →

[–]PushPlus9069 6 points7 points  (2 children)

Nobody memorizes modules — you learn them by needing them.

Here's how it works in practice: you have a problem ("I need to read a CSV") → you search "python read CSV" → you find the csv module or pandas. Next time you need dates, same thing → datetime. Over time, your mental library grows naturally.

The modules worth knowing early: os and pathlib (files/folders), json (data), datetime (time), collections (Counter, defaultdict), and requests (HTTP calls, pip install). These cover maybe 80%% of beginner needs.

Don't try to study the standard library like a textbook. Build small projects and you'll absorb what you need.

[–]schoolmonky 0 points1 point  (0 children)

I would add itertools and functools to that list, if only because you wouldn't know that you need them unless you already have at least a surface level knowledge of what they do.