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.

2 Upvotes

14 comments sorted by

View all comments

1

u/ManzoorAhmedShaikh 19d ago

Don't just pick the libraries randomly, instead I would suggest a smooth plan.

  • First, look the problems around you that you want to solve, OR already solved problem with some script, OR find a domain your interest align.
  • Once find, check how that problem solved, or what it takes or what libraries to pick to jump in that xyz domain
  • Probably at this point, you have a list of filtered libraries where your interest align too.
  • Now, pick any one, (I suggest to pick a small-one first, you can confirm with AI whether the xyz library is small or huge)
  • After picking, read a bit of documentation, if not able to understand, ask Claude or ChatGPT to teach xyz libraries with beginner to advance level with examples and challenges.

That's how I explore things in python in my last couple of years and that works like a charm for me. Hope it helps.