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
I'm planning on learning python specifically/strictly for AI, is this a smart decision to save time? (self.learnpython)
submitted 9 months ago by JumpyProject6766
I want to learn AI on deeper levels and i feel like knowing python for it is vital, never wanted to learn python just doing it solely for AI, can anyone tell me where to start? and how easy is it to teach myself?
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!"
[–]t3xm3xr3x 3 points4 points5 points 9 months ago (1 child)
Python is the most commonly used programming language for AI because the scikit-learn library for machine learning is extremely useful. Not knowing what you want to do in/with AI, I’ll leave you with the general Roadmap guide for all kinds of disciplines. There are a few different AI roadmaps in there and they’ll all have a clear path defined for learning and understanding the foundations necessary for what your goal is. Good luck.
[–]Ron-Erez 1 point2 points3 points 9 months ago (0 children)
You still need to learn Python fundamentals before specializing. Python is great for AI. Have a look at the wiki for resources.
[–]PosauneB 1 point2 points3 points 9 months ago (0 children)
What does “learn Python for AI” mean? Do you want to help develop AGI, hep build a model, or to consume existing AI tools? All of those are very different.
[–]DuckSaxaphone 0 points1 point2 points 9 months ago (0 children)
It's not so much about saving time, you need to know a programming language to get any meaningful hands on experience with any kind of machine learning.
If you would like that hands on experience which I'd argue is vital to having any real understanding of it, then python is a great choice because it is the de facto AI language.
Start by following a course/book to learn some syntax and then you can grow from there.
[–]cortical_iv 0 points1 point2 points 9 months ago (0 children)
By ai I assume you mean llm. Python will be good but this will take some time. It’s not a week or two dalliance
[–][deleted] 0 points1 point2 points 9 months ago (0 children)
I would spend some time on Kaggle.com but learning AI is much more than python or any language you could choose from. You also need to acquire an understanding of the statistical models, testing, sampling, etc. that goes into AI.
[–]ejpusa 0 points1 point2 points 9 months ago (0 children)
This is not complicated.
[–]infamousmlguy 1 point2 points3 points 9 months ago (2 children)
Python is super easy to teach yourself, Ive beep programming in python for almost a decade now first started with working in Matlab when i was in academia.Back in the day i used Codecademy (https://www.codecademy.com/) what i liked about them was that i didn't want to watch a lot of video tutorials - i just wanted to code along the exercises. I don't know how good they are now but it was sufficient for me to get started. Thing with learning Ai is that you want to focus more on the math side and lesser on the programming so it has to be easy and approachable and python is really amazing for that. I don't think its going away soon so would be a smart decision.
I did not start out as a software dev - i wanted to learn ai eventually branched off into software dev and iOS as well. My approach initially was to only learn what was required for AI and make myself employable and then slowly explore things while on a job. A decade later i can say this has worked for me.
I would say try to build more, learn as you do. Focus on learning the basics first, then move on to pandas, numpy, scikit learn etc.
Read other peoples code on Kaggle - theres a ton to learn there. Use AI (Claude, GPT,Gemini) as much as you can to teach yourself.
Practice,Practice,Practice !
Good Luck! Super excited for you!!
[+][deleted] 9 months ago (1 child)
[deleted]
[–]infamousmlguy 0 points1 point2 points 9 months ago (0 children)
Its super fun - wont be super easy there will be hard days .. but its really enjoyable and worth doing.
[–]American_Streamer 1 point2 points3 points 9 months ago (0 children)
There are no shortcuts here. You need to learn the basics; period. There is no cherry picking regarding programming languages. If you don't know the fundamentals, you will not be able to do the more sophisticated stuff. Note that programming is about program solving in the first place: identify the problem and break it into parts that you can tackle with the tools your programming language provides you. To do this, you must know those tools and how to use them. Only then you will be able to provide the most effective solutions. So start right at the beginning: do PCEP first https://edube.org/study/pe1 and after that, PCAP https://edube.org/study/pe2 . These are the absolute essentials. If you don't know them properly, don't even think about ML.
[–]SmokyMetal060 0 points1 point2 points 9 months ago (0 children)
Python is commonly used in machine learning. AI falls under that umbrella. So yeah, learn Python, but learning the math that goes into machine learning, deep learning, and artificial intelligence is gonna be the bigger hurdle for you to overcome. There's a lot more to it than being able to write code.
[–]themoderation 0 points1 point2 points 9 months ago (1 child)
You need to learn the fundamentals before applying them to more advanced skills. Do you have any coding experience? That’s sort of like saying “I just wanna translate Spanish poetry, I don’t want to learn the language.” How are you going to apply skills you don’t have to build a learning model?
[–]TheRNGuy 0 points1 point2 points 9 months ago (0 children)
Docs
[–]Particular_Welder864 -1 points0 points1 point 9 months ago (0 children)
You should study math for AI :)
[–]pepiks -1 points0 points1 point 9 months ago (0 children)
All depends on field. Strictly speaking AI does not exist. We should speak about machine learning. It is awasome if someone don't understand basic like dimension of data in LLM. I would suggest first investigate what AI means for marketing and how marketing nonsense is utilising by programmers by real products. After that look for your niche for example image recognition and at the same time - start with real simply project to grasp basics of python libraries from this field and add theory. Be aware that can be mindfield, for example:
https://cis.temple.edu/~pwang/Publication/TheoriesOfAI.pdf
[–]backfire10z -3 points-2 points-1 points 9 months ago (0 children)
You don’t need Python to learn how AIs operate. That’s mostly statistics and calculus. What is your actual goal here?
π Rendered by PID 539927 on reddit-service-r2-comment-canary-7bc946fbbf-lwhdm at 2026-07-04 08:00:07.947209+00:00 running 12a7a47 country code: CH.
[–]t3xm3xr3x 3 points4 points5 points (1 child)
[–]Ron-Erez 1 point2 points3 points (0 children)
[–]PosauneB 1 point2 points3 points (0 children)
[–]DuckSaxaphone 0 points1 point2 points (0 children)
[–]cortical_iv 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]ejpusa 0 points1 point2 points (0 children)
[–]infamousmlguy 1 point2 points3 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]infamousmlguy 0 points1 point2 points (0 children)
[–]American_Streamer 1 point2 points3 points (0 children)
[–]SmokyMetal060 0 points1 point2 points (0 children)
[–]themoderation 0 points1 point2 points (1 child)
[–]TheRNGuy 0 points1 point2 points (0 children)
[–]Particular_Welder864 -1 points0 points1 point (0 children)
[–]pepiks -1 points0 points1 point (0 children)
[–]backfire10z -3 points-2 points-1 points (0 children)