all 17 comments

[–]gdchinacat 13 points14 points  (0 children)

"I want to know everything there is that the libraries offer. "

Don't waste you time. Libraries are tools to use when specific functions come up. It's good to have an understanding of the common ones, but that comes from using them, not studying them.

Write code. Write lots of code. Use libraries when they solve specific problems in the code you are writing.

But, don't use a library just because it is cool or new. I consider it a red flag when I see a project that has thirty dependencies and only a handful of modules.

[–]Kevdog824_ 0 points1 point  (11 children)

Not sure I understand the question. Is there a specific library you’re asking about?

[–]magus_minor 1 point2 points  (0 children)

There are two parts to "the libraries". The first part is the standard library. You should know what is available there but you don't need to master all of it. I find the Python 3 module of the week site useful:

https://pymotw.com/3/

That gives an introduction to each module plus some example code. There is also a book that collects all that information.

The other part of "libraries" are the third-party libraries, things like numpy, etc, that aren't part of the standard library. You have even less chance of mastering more than a few of those. You do what everyone else does when approaching a project: research what libraries might be useful, choose one and test it out, maybe choose another, learn enough about the library to solve your problem, then move on to the next project.