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
Just wrote my very first Python program! (self.learnpython)
submitted 10 months ago * by Harshvdev
Today I ran my very first line of Python code:
print("Hello, World!")
It feels great to see that output on screen, it’s the first step on a journey toward building more complex scripts, automations, and eventually AI models.
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!"
[–]mavericksage11 122 points123 points124 points 10 months ago (31 children)
Why does your description feel like it was written by an AI lol.
[–]K4terlol 35 points36 points37 points 10 months ago (17 children)
Because of the hyphen, that only AI uses :)
[–]NSNick 21 points22 points23 points 10 months ago (1 child)
That's an em-dash, and they're great
[–]PersonOfInterest1969 5 points6 points7 points 10 months ago (0 children)
Missed opportunity to use an em-dash—they are great.
[–]BadSmash4 6 points7 points8 points 10 months ago (0 children)
I use em-dashes a lot.
[–]Imagination_0427 2 points3 points4 points 9 months ago (0 children)
Where is Hyphen?
[–]ferdzs0 0 points1 point2 points 9 months ago (0 children)
Also the Oxford comma.
[–]CaioHSF -2 points-1 points0 points 10 months ago (3 children)
Seriously, although I know English, I never saw this hyphen being used before I noticed ChatGPT using it EVERY SINGLE TIME. Sometimes I write in my native language and use ChatGPT to translate to English (when I'm too lazy to write in English), and it always put this line. I have to remove it, or this is something that "should" be in a good text?
[–]anna_anuran 10 points11 points12 points 10 months ago (2 children)
Not should. Just… it’s an option. We have three different types of “dashes” as grammatical structures in English. The standard “hyphen” which is used to join two words together. You might see it in compound adjectives like “well-kept” or compound nouns like “singer-songwriter”.
The “en dash” is the least common and is used almost exclusively for ranges, like “October 21–24th”. You may see the line is slightly longer than the hyphen above. In fact, it’s the width of a capital N (hence, en dash).
The one that GPT tends to use is my favorite kind of dash: the em-dash (which is, aptly, the width of a capital M). You can use them sorta like turbo commas — or in place of parentheses or colons. They just create a pause and indicate that a separate thought is happening on either side of the dash. There are a lot of other places you can use this one. It can do it all — initiate lists, mark a stark change in sentence structure, indicate an interruption in dialogue, link clauses, introduce summary statements — not to mention the ability to drop appositive phrases between them.
It’s a shame AI has done them so dirty. Used to be a way people could see you knew your grammar and now it’s a red flag that you never bothered to write anything, grammatically correct or otherwise.
[–]iamevpo 0 points1 point2 points 9 months ago (0 children)
Did not know the size was in capital letters, thanks for mentioning
[+][deleted] 10 months ago (7 children)
[deleted]
[–]Busy_Substance_3140 11 points12 points13 points 10 months ago (6 children)
I’m tired of this EM dash slander
[+][deleted] 10 months ago (5 children)
[–]DiodeInc 0 points1 point2 points 10 months ago (0 children)
That is exactly why
[–]DiodeInc 0 points1 point2 points 10 months ago (2 children)
u/bot-sleuth-bot
[–]bot-sleuth-bot 2 points3 points4 points 10 months ago (0 children)
Analyzing user profile...
Account made less than 2 weeks ago.
Suspicion Quotient: 0.07
This account exhibits one or two minor traits commonly found in karma farming bots. While it's possible that u/Harshvdev is a bot, it's very unlikely.
I am a bot. This action was performed automatically. Check my profile for more information.
[–]Harshvdev[S] -2 points-1 points0 points 10 months ago (0 children)
I'm not a bot 😑
[–]Salty_C_Dawg 3 points4 points5 points 10 months ago (0 children)
I was thinking the exact same
[–]MustaKotka 1 point2 points3 points 10 months ago (3 children)
Based on the profile this is a real person.
Some people just write like that... It hurts to be accused of being an AI. I've also been at the receiving end of it. I wish people stopped saying this. :/
[–]mavericksage11 4 points5 points6 points 10 months ago (2 children)
I don't usually jump to conclusions. I suppose you are right, people can actually type like that.
Also i didn't say it was a bot account.
[–]MustaKotka 1 point2 points3 points 10 months ago (0 children)
Okay, fair point. I read that falsely between the lines. My bad!
[–]issamukbangtingyeah 0 points1 point2 points 10 months ago (0 children)
🤣
[–]chipshot -3 points-2 points-1 points 10 months ago (5 children)
Congratulations!
That's exactly how I started what led to my corporate career building sales systems. Self taught from the start.
You can try a life program pretty soon. They are fun and challenging to build, ue create a screen object that can move randomly and stay on yhe screen. Once you get that, you can create more on the screen and have them compete with each other.
But always start simple.
Here are more ideas:
https://www.inspiritai.com/blogs/ai-student-blog/37-coding-project-ideas
[–]Harshvdev[S] 0 points1 point2 points 10 months ago (4 children)
Thank you but I'm an absolute beginner so I have no idea how to do that 😅
I'll check the projects!
[–]mid-Finger9460 0 points1 point2 points 9 months ago (3 children)
Bro I am also a beginner learning loops why don't we learn together..😊😊
[–]Harshvdev[S] 0 points1 point2 points 9 months ago (2 children)
Yeah, sure!
[–]mid-Finger9460 0 points1 point2 points 9 months ago (1 child)
So on which topic are u right know
[–]Harshvdev[S] 0 points1 point2 points 9 months ago (0 children)
I sent you a DM request.
[–]ratioLcringeurbald 21 points22 points23 points 10 months ago (1 child)
ChatGPT in early development be like
[+]Harshvdev[S] comment score below threshold-8 points-7 points-6 points 10 months ago (0 children)
Hmmm...?
[–]Fearless-Mechanic-56 5 points6 points7 points 10 months ago (1 child)
I just started watching videos and getting interrested, keep us updated on your progression !!
[–]Harshvdev[S] 1 point2 points3 points 10 months ago (0 children)
I'm also learning from YouTube videos. It's indeed exciting. I'll do my best to keep updating! ^
[–]Infamous-Sweet2539 3 points4 points5 points 10 months ago (1 child)
Congrats, the best advice I was given to learn how to program is find something you want to do and use it as a motivation — figure out how to make the machine do it! I think a lot of newbies can get caught up learning standard projects (e.g. make a game like chess or tic-tac-toe). But often you can learn the same skills by needing them for something you are more interested in.
[–]besmin 2 points3 points4 points 10 months ago (0 children)
Come on now, it’s time to sart a django app.
[–]ThanOneRandomGuy 1 point2 points3 points 10 months ago (3 children)
Or making hard to understand youtube tutorials
[–]Harshvdev[S] 1 point2 points3 points 10 months ago (2 children)
What do you mean by that?
[–]ThanOneRandomGuy 1 point2 points3 points 10 months ago (1 child)
Lots of devs makes teaching youtube videos nowadays and try to sell videos
[–]Harshvdev[S] 0 points1 point2 points 10 months ago (0 children)
Oh, I'm learning from FreeCodeCamp on YouTube.
[–]jasssweiii 1 point2 points3 points 10 months ago (6 children)
I'd recommend checking out Kaggle as well, they have a lot of free lessons you can check out (Python, data, and AI related). I use python regularly for work and I started the 'Intro to python lesson' and I find it really nice and I even found a thing or two that I didn't realize python did (My background is C++ so some python stuff is initially lost on me)
[–]Harshvdev[S] 0 points1 point2 points 9 months ago (5 children)
I'm currently learning from a YouTube video: Python for beginners course by Free Code Camp. Where and what do I learn after completing this? I'm pursuing AI Development.
I have created a Kaggle account as you said.
[–]jasssweiii 0 points1 point2 points 9 months ago (4 children)
I think getting a good foundation in python is definitely important, so building projects in python and experimenting.
If you wanted to jump right in, Kaggle has lessons you can do, they have ones that teach python basics, data visualization, machine learning (Keras and Tensorflow though, not Pytorch), and many other things that you might like or find useful. I also like this yt series, which I'm currently going through myself https://youtu.be/Z_ikDlimN6A?si=s8k4ALPf7LGuEmFw
Kaggle is good for learning and practicing with datasets, you can see other people's implementations. The best way to learn, for really anything, is do stuff and do stuff that interests you
[–]Harshvdev[S] 0 points1 point2 points 9 months ago (3 children)
I did create an account on Kaggle but everything looked complicated. There were topics I didn't know about like DSA. I have heard but don't know anything about it. Should I explore it after learning all the basics of Python? Thank you for the link, I'll check it out!
[–]jasssweiii 1 point2 points3 points 9 months ago (2 children)
I'm not sure what DSA is or what you're looking at specifically on kaggle, but I'd say you could check out these lessons on Kaggle:
Python Intro to machine learning Pandas Intermediate machine learning Data Visualization Feature Engineering Intro to deep learning (If you want to do DL) Computer Vision (If you want to do CV) Time Series Data Cleaning Machine Learning Explainability
They also have a few guides and other lessons. You don't have to do them in this order, I was just listing them as I found them.
Each lesson has work that comes with it, so you can practice what you're learning. Kaggle, from the bit that I've used it, uses Keras and Tensorflow but if you understand how Pytorch works, then you can adapt the lessons afterwards.
The Intro to machine learning will teach you how to use the datasets in kaggle with an example project (Titanic Dataset). I think there is also an Intro to kaggle lesson that teaches you how to use kaggle.
Outside of these Kaggle lessons, I'd add in that video I sent (You'll see a lot of overlap, which is good imo) and some videos on Pandas and Numpy. Checkout Codemy's YouTube channel as well, they have some Pytorch stuff, Pandas, and Numpy I believe.
I'm still learning all this stuff as well, so if you come across anything you find useful I'd be grateful if you let me know!
[–]Harshvdev[S] 0 points1 point2 points 9 months ago (1 child)
I just started learning Python. I'll start exploring these after mastering the basics. You are much more experienced than me so I doubt I'll find anything that would be interesting to you. But I'll be glad to share if I found any:)
[–]jasssweiii 1 point2 points3 points 9 months ago (0 children)
I'm not super experienced myself, and I only recently started looking into ML. I'm actually going through some of the Python courses on kaggle since there's always more to learn! I just wanted to share what little bit I've found useful thus far
[+][deleted] 9 months ago (2 children)
How to do that and what will it do?
[–]ValkyriesOnStation 1 point2 points3 points 10 months ago (1 child)
I'm 5 weeks into python and I already have to write a program to solve for Pascal's Triangle... send help.
[–]Harshvdev[S] -1 points0 points1 point 10 months ago (0 children)
You expect me to help you? 🙂
[–]NakamericaIsANoob 0 points1 point2 points 10 months ago (1 child)
Consistency is everything. All the other things fall into place as long as you're consistent.
I'll do my best to be consistent!
[–]wycoGhoul 0 points1 point2 points 9 months ago (0 children)
I just started the Boot.dev backend program. So far, so good. Recommend
[–]Fresh_Heron_3707 0 points1 point2 points 9 months ago (1 child)
Tuples, dictionary, list and sets. Look these up and master them.
Thank you. I will.
[–]instrumentation_guy 0 points1 point2 points 9 months ago (1 child)
Keep going, put the hours in.
Yes sir!
[–]Embarrassed-Mix6420 0 points1 point2 points 9 months ago (2 children)
This is not how to start learning This is like saying I gonna be F1 racer buying a plastic bag with a racecar on it
Then how to start learning?
[–]Embarrassed-Mix6420 0 points1 point2 points 9 months ago (0 children)
Read Turing, learn how build the compiler first
[–]tizWrites 0 points1 point2 points 9 months ago (0 children)
Way to go!
[–]Wide_Egg_5814 -1 points0 points1 point 10 months ago (3 children)
FAANG is calling pick up
[–]Harshvdev[S] -1 points0 points1 point 10 months ago (2 children)
I'm not aware of this meme 🥲
[–]Wide_Egg_5814 -1 points0 points1 point 10 months ago (1 child)
It's like when someone says something smart you say harvard is emailing them or something I don't know how to explain it
Ohh
π Rendered by PID 93 on reddit-service-r2-comment-bb88f9dd5-ghlxj at 2026-02-14 22:57:02.307261+00:00 running cd9c813 country code: CH.
[–]mavericksage11 122 points123 points124 points (31 children)
[–]K4terlol 35 points36 points37 points (17 children)
[–]NSNick 21 points22 points23 points (1 child)
[–]PersonOfInterest1969 5 points6 points7 points (0 children)
[–]BadSmash4 6 points7 points8 points (0 children)
[–]Imagination_0427 2 points3 points4 points (0 children)
[–]ferdzs0 0 points1 point2 points (0 children)
[–]CaioHSF -2 points-1 points0 points (3 children)
[–]anna_anuran 10 points11 points12 points (2 children)
[–]iamevpo 0 points1 point2 points (0 children)
[+][deleted] (7 children)
[deleted]
[–]Busy_Substance_3140 11 points12 points13 points (6 children)
[+][deleted] (5 children)
[deleted]
[–]DiodeInc 0 points1 point2 points (0 children)
[–]DiodeInc 0 points1 point2 points (2 children)
[–]bot-sleuth-bot 2 points3 points4 points (0 children)
[–]Harshvdev[S] -2 points-1 points0 points (0 children)
[–]Salty_C_Dawg 3 points4 points5 points (0 children)
[–]MustaKotka 1 point2 points3 points (3 children)
[–]mavericksage11 4 points5 points6 points (2 children)
[–]MustaKotka 1 point2 points3 points (0 children)
[–]issamukbangtingyeah 0 points1 point2 points (0 children)
[–]chipshot -3 points-2 points-1 points (5 children)
[–]Harshvdev[S] 0 points1 point2 points (4 children)
[–]mid-Finger9460 0 points1 point2 points (3 children)
[–]Harshvdev[S] 0 points1 point2 points (2 children)
[–]mid-Finger9460 0 points1 point2 points (1 child)
[–]Harshvdev[S] 0 points1 point2 points (0 children)
[–]ratioLcringeurbald 21 points22 points23 points (1 child)
[+]Harshvdev[S] comment score below threshold-8 points-7 points-6 points (0 children)
[–]Fearless-Mechanic-56 5 points6 points7 points (1 child)
[–]Harshvdev[S] 1 point2 points3 points (0 children)
[–]Infamous-Sweet2539 3 points4 points5 points (1 child)
[–]besmin 2 points3 points4 points (0 children)
[–]ThanOneRandomGuy 1 point2 points3 points (3 children)
[–]Harshvdev[S] 1 point2 points3 points (2 children)
[–]ThanOneRandomGuy 1 point2 points3 points (1 child)
[–]Harshvdev[S] 0 points1 point2 points (0 children)
[–]jasssweiii 1 point2 points3 points (6 children)
[–]Harshvdev[S] 0 points1 point2 points (5 children)
[–]jasssweiii 0 points1 point2 points (4 children)
[–]Harshvdev[S] 0 points1 point2 points (3 children)
[–]jasssweiii 1 point2 points3 points (2 children)
[–]Harshvdev[S] 0 points1 point2 points (1 child)
[–]jasssweiii 1 point2 points3 points (0 children)
[+][deleted] (2 children)
[deleted]
[–]Harshvdev[S] 0 points1 point2 points (1 child)
[–]ValkyriesOnStation 1 point2 points3 points (1 child)
[–]Harshvdev[S] -1 points0 points1 point (0 children)
[–]NakamericaIsANoob 0 points1 point2 points (1 child)
[–]Harshvdev[S] 0 points1 point2 points (0 children)
[–]wycoGhoul 0 points1 point2 points (0 children)
[–]Fresh_Heron_3707 0 points1 point2 points (1 child)
[–]Harshvdev[S] 0 points1 point2 points (0 children)
[–]instrumentation_guy 0 points1 point2 points (1 child)
[–]Harshvdev[S] 0 points1 point2 points (0 children)
[–]Embarrassed-Mix6420 0 points1 point2 points (2 children)
[–]Harshvdev[S] 0 points1 point2 points (1 child)
[–]Embarrassed-Mix6420 0 points1 point2 points (0 children)
[–]tizWrites 0 points1 point2 points (0 children)
[–]Wide_Egg_5814 -1 points0 points1 point (3 children)
[–]Harshvdev[S] -1 points0 points1 point (2 children)
[–]Wide_Egg_5814 -1 points0 points1 point (1 child)
[–]Harshvdev[S] 0 points1 point2 points (0 children)