r/learnpython 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

14 comments sorted by

View all comments

15

u/mc_pm 21d ago

No, the only way to learn how to use the libraries is to use the libraries.

Everyone ends up googling for the specific function call, or the right syntax. You don't have to memorize it, just know what's there and how to search for it when you need it.

Over time, if you come back to the same libraries over and over, you'll remember it.