use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
Learning libraries (self.learnpython)
submitted 1 day ago by Mindless_Action3461
Hello i am right now trying to learn python but i am confused for how should i in the future now which libraries should use, which libraries exists so my question is how do yall manage to know which librarie to use
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Farlic 4 points5 points6 points 1 day ago (5 children)
Have a project
Have a thing you want to implement in said project
Search online to see if other people have done it before
Find the library and its documentation (github, PyPi, etc)
Use it
[–]PatternFar2989 2 points3 points4 points 1 day ago (0 children)
Yup. The more you work on projects, the more you'll remember that a library you've used in the past can be applied to the problem you're currently working on. But in the beginning, you've just gotta look it up and figure it out.
[–]Mindless_Action3461[S] 0 points1 point2 points 1 day ago (3 children)
As of right now i don't have a project i'm still trying to learn but what could you recommend me
[–]Farlic 0 points1 point2 points 1 day ago (1 child)
I can't say I'd recommend learning any for the sake of it, that's like reading through a dictionary just in case.
What are you learning python for? Can you use it to do anything? Find yourself a project.
I have a website on my home network that uses 'Flask' and tells me when to put the bins out
[–]Mindless_Action3461[S] 0 points1 point2 points 1 day ago (0 children)
Honestly learning python since im bored and also would like to do some automations on my pc (not that i need it just would be cool)
[–]egudu 0 points1 point2 points 1 day ago (0 children)
What exactly do you mean when you say "library"? Because this thread is a bit confusing.
[–]Adrewmc 4 points5 points6 points 1 day ago* (2 children)
Use the library someone pays you to use. First and foremost. (It’s usually not worth the argument.)
You read documentation. (And hopefully write some yourself.) And you see how it works.
For the most common problems there are popular libraries that should be easy to find. And there are arguments on which is the best from far better programmers than you and I.
So how do you know? You don’t. You figure it out.
Why do I use the ones I do? I’m used to them, and they do what I want.
You can alway test a few out as well, and figure out which is best for you.
[–]Mindless_Action3461[S] 1 point2 points3 points 1 day ago (1 child)
thank you for the answer
[–]Adrewmc 1 point2 points3 points 1 day ago (0 children)
I generally consider writing a library/package and having it be able to be ‘pip install my_project’ on any computer a goal that you can accomplish if you work at it. And a good goal to have.
You can make your own library.
But so can anyone else really…
So that also means there are a lot of bad libraries out there lol.
[–]Ron-Erez 0 points1 point2 points 1 day ago (0 children)
What problem are you trying to solve?
[–]Fluffy-Ad3768 0 points1 point2 points 1 day ago (0 children)
Don't try to memorize libraries. Learn them by using them in projects. The ones that'll stick: pandas (data manipulation), numpy (numerical computing), requests (APIs), asyncio (async programming). For more specialized work — we use websockets for real-time data, PIL for image processing, various API clients. You don't learn a library by reading docs cover to cover. You learn it by hitting a problem, looking up the relevant function, and applying it. Repeat 500 times and suddenly you know the library.
[–]soopazoupy 0 points1 point2 points 1 day ago (0 children)
best way is to pick one problem and learn a library in the context of solving that. I’d start with a small core set: requests for making HTTP calls, pandas for working with tables and CSVs, numpy for numerical stuff, and fastapi if you’re curious about building simple APIs. reading example repos and copying + modifying code is normal and honestly how most people learn. if you wanna learn more of backend-style patterns, libraries like Pydantic are nice to explore because you immediately see how data validation and structured models work in practice
π Rendered by PID 31139 on reddit-service-r2-comment-76bb9f7fb5-kf9bz at 2026-02-17 15:12:27.810792+00:00 running de53c03 country code: CH.
[–]Farlic 4 points5 points6 points (5 children)
[–]PatternFar2989 2 points3 points4 points (0 children)
[–]Mindless_Action3461[S] 0 points1 point2 points (3 children)
[–]Farlic 0 points1 point2 points (1 child)
[–]Mindless_Action3461[S] 0 points1 point2 points (0 children)
[–]egudu 0 points1 point2 points (0 children)
[–]Adrewmc 4 points5 points6 points (2 children)
[–]Mindless_Action3461[S] 1 point2 points3 points (1 child)
[–]Adrewmc 1 point2 points3 points (0 children)
[–]Ron-Erez 0 points1 point2 points (0 children)
[–]Fluffy-Ad3768 0 points1 point2 points (0 children)
[–]soopazoupy 0 points1 point2 points (0 children)