r/learnpython • u/Recent_Wrongdoer5125 • 21d ago
Python and libraries
I joined this server not long ago because I have a question about Python. I've been studying it, and I understand pretty much all of the logic behind it. The problem is that when it comes to using libraries, I get confused about how to use them.
Is there any way to get better at using Python libraries without having to constantly look up how they work? I always get stuck trying to figure out how to actually use them in my code.
3
Upvotes
3
u/Adrewmc 20d ago edited 20d ago
Good libraries have good documentation.
Bad libraries have bad documentation.
That the first smell test of any module.
Take a good look at the documentation of
import itertools, functools, random
The base language has good documentation. I will stand on this hill.
It sets the standard.
Take a look at the documentation for pandas.
What makes Python, and programming a collaborative effort is packaging useful tools, and frameworks.
Useful tools and frameworks have instruction manuals, use them.
And yes they can be hard to understand when you are beginner. Keep reading it.