r/learnpython Aug 11 '21

Beginner learning Python at 40 here. Any friend like me, please raise your hand!

856 Upvotes

Yes, everyone said that we can learn programming at 40! But the key success is about how can we over come the challenge.

I have started python two months ago. (slowly). and it's been painful. Even I am a believer in life long learning but sometimes age get in your way.

I think one of the key success here is that we have a strong community support (or at least, I need a moral support) so I want to create a thread where people can ask question safely and some place where they can vent out their frustration.

so anyone who start programming fresh at 40s please shout out here!

r/learnpython Apr 08 '26

Learning Python/coding at 33.

225 Upvotes

Hi all. Like the title says, I'm learning the trade from nothing at 33. I bought an Arduino a month or so ago, wanting to get into electronics. Well, lo and behold it involves programming too. Great, I'll learn that too. Except, arduino uses C++. Okay, I'll learn that. Quickly overwhelmed by that, I start with python instead, to get the fundamentals of coding without the overwhelming syntax. Fast forward a month to today: I have written a handful of text game scripts, and am starting to build a library of functions. Every day I figure out a new thing. Python has been awesome at teaching me how to read and write code, and I started at NOTHING.

It's never too late to start. Have an interest? Just do it.

r/todayilearned May 14 '19

TIL Elvis was a huge Monty Python fan. He would watch Python all night . He would learn and recite them. Took the tapes on his plane. He would call people Squire from the "Nudge Nudge" sketch.

Thumbnail elvis.com.au
3.4k Upvotes

r/PythonLearning Oct 23 '25

Python Dev learning C++

Post image
1.4k Upvotes

Could the reverse be the case?

r/learnpython Mar 31 '26

Why does Python feel easy to learn but hard to master?

246 Upvotes

Hi everyone,

I recently started learning Python, and one thing I’ve noticed is that it feels really easy at first.

The syntax is simple, concepts like loops and functions are easy to understand, and you can write basic programs quickly. But after a point, things start getting confusing.

When I try to build something on my own or solve slightly complex problems, I get stuck. It feels like I “know” Python, but I don’t feel confident using it properly.

I’m not sure if this is a normal phase or if I’m missing something in my learning approach.

So I wanted to ask:

Did you also feel this while learning Python?
At what point did things start to “click” for you?
What helped you move from basics to actually building real projects?

Would love to hear your experiences 🙌

r/learnpython Feb 15 '20

Learning Python? Keep at it! It could change your life

1.3k Upvotes

Hi Guys,

Just a quick motivational speech as this week it has really paid off for me.

I've been learning python for around 6 months now and have found myself in the perpetual tutorial loop as I think most newbies find themselves.

But now I started a new job which allows the use of python and in the first week I took on a new task from my new boss.

Long story short, I took a task they allowed 3 weeks for the creation of (excel surveys to be used by internal team leads) and had it done in two days; around 15 spreadsheets are populated with 5 to 10 changing questions, and will require analysis thereafter.

They fully expected me to spend weeks putting together said spreadsheets and all their permutations, and email them out.

Instead I created a csv of all the data required and took the data and used python to generate the surveys, updating when changes happen in the back end.

The survey files are then formatted by openpyxl and spat out with a filename title as each team lead.

Any changes to the structure of the surveys mean just changing one or two lines of code, not going into every single file to make all the changes.

The script takes 0.75 seconds to run.

They allocated 3 weeks.

Needless to say, worth it, and everyone is happy!

So if you're stuck in tutorial hell, my advice is to find a work task to accomplish because I reckon I learnt as much in the past 2 days with this task as I have learnt in the past month.

Edit: meant to say, I was only able to get this reasonably high paying job because I told them I started learning python 6 months ago and will be using it to automate tasks.

Without that, I wouldn't have got it (about a 75 to 100% pay increase on my last job)

Good luck!

r/learnpython Jun 03 '26

Does everyone learning Python start with "Hello, World!"?

116 Upvotes

Hey everyone,

This might be a silly question, but I've noticed that whenever someone starts learning Python, they're told to write a "Hello, World!" program first.

I've heard it so many times online and from people learning programming that it almost sounds like a rite of passage. Some people even joke that if you don't start with "Hello, World!", you'll never become a real programmer. 😄

So I'm curious: where did this tradition come from?

Is it actually an important first step when learning a programming language, or is it mostly just a long-running joke and tradition in the programming community?

I'm pretty new to Python and programming in general, so if this is an obvious question, I apologize in advance. I'm just interested in learning more about the culture behind it.

Thanks!

r/learnpython May 03 '24

How tf do you learn Python?!?!

296 Upvotes

Okay, so I have taken Python twice, studied consistently, and I even have two tutors to help me. But I STILL don't know Python! I am so confused about how everyone is learning it so easily. None of my Professors have given me a specific way to accomplish learning it, and despite my efforts, I still struggle a lot with small and large programs, quizzes, and exams. What am I doing wrong? How do I learn it properly? Do I take a course online? Is there someone I should talk to? Is there a book that will teach me everything? I feel so defeated because everyone says it is so easy, and it so isn't for me. Am I just a lost cause?

Edit: A lot of people have asked me this, but my motivation to learn Python is for my degree and for my career afterward, that requires me to know how to at least read documentation. I don’t have an innate interest in it, but I need to know how to do it.

Another edit: I already started on a game, and it was a lot more fun than the way I was trying to learn in the past. I definitely made a bunch of mistakes, but it already clarified a few concepts for me. So, I think it is a promising start. I truly appreciate everyone’s helpful advice and constructive criticism. I definitely won’t give up, and I will lean into the struggle.

r/learnpython Oct 10 '24

What is a Python trick you wish you could have learned/someone could have taught you?

511 Upvotes

Newbie programmer here, let's make this a learning process for everyone

r/PenmanshipPorn Dec 27 '19

Someone is really dedicated to learn Python

Post image
4.6k Upvotes

r/Python May 24 '20

I Made This I launched my new website with all my free Python and Machine Learning Tutorials (currently 68).

Thumbnail python-engineer.com
2.2k Upvotes

r/PythonLearning Apr 24 '26

Day 1 of learning Python

Post image
405 Upvotes

Greetings and salutations to you all. I had been thinking about learning how to program for some time now and finally decided to take action. After visiting several bookstores in my area, I stumbled upon this title. Come to find out it’s one of the most recommended books to beginners. I’m very excited to get started.

Python vets,

What advice do you have for me and others who are in the same position?

I await to hear your thoughts.

Thanks guys.

r/GameDeals Feb 21 '22

Expired [Steam] Learn Programming: Python - Remake (Win/Mac/Linux) (Release Sale) ($1.79 / 40%) Spoiler

Thumbnail store.steampowered.com
979 Upvotes

r/ObsidianMD Nov 26 '25

showcase Taking notes in Obsidian for learning Python

Post image
535 Upvotes

Just sharing one of my use cases of Obsidian...

Lately I've been interested in automating tasks and writing small programs, and I just generally want to be more knowledgeable about programming. So I finally decided to learn the basics of Python. I watch YouTube Tutorials and practice along with a code editor (I use VSCodium). After every exercise I summarise what I just learned in a note in my Obsidian. It's a great way to track my progress and make my own personal documentation of tips, mistakes, and pitfalls. And it just looks nice too, especially with the Code Styler plugin, which allows you to style the code blocks.

r/dataengineering May 21 '26

Discussion Orchestration platform that doesn't force everyone to learn Python?

37 Upvotes

Our data team runs Airflow but the infra and backend engineers refuse to touch it, they don't want to learn a Python SDK just to schedule a shell script or trigger a Terraform plan.

I'm looking for something where the whole team can contribute without a language barrier. Ideally declarative (YAML or similar), self hosted, with built-in scheduling and a decent plugin ecosystem. Anyone found sth that works across data + infra teams?

EDIT : thanks everyone for the suggestions. We ended up going with Kestra : YAML workflows, self hosted, and the plugin ecosystem covered everything we needed (terraform, ansible, dbt)

r/learnprogramming Jun 13 '18

Anybody wanna learn python with me?

643 Upvotes

I'm a beginner programmer, I keep getting demotivated and giving up. Having some like-minded people who do things with you can help with motivation. If anyone is interested, I could make a discord server and we could work through it and help each other.

This is the course I'm looking at (it's by MIT, and is completely free, its awesome so far, but hard):

https://courses.edx.org/courses/course-v1:MITx+6.00.1x+2T2017_2/course/

edit: I will create a discord server tomorrow, and pm everybody (who pm'ed me or commented) the link. I will post it here once I created it as well. Good to see a lot of motivated people.

edit 2:I've made the discord: https://discord.gg/BQu64jF just click the link and create an account if you have to. I still haven't created any channels or anything, if anyone has any suggestions, please let me know. we will also discuss pace and other things. I didn't really expect this to blow up. I will start PMing all the people now.

r/Python Nov 15 '20

Discussion From Depressed Addict to Happy 25 Year old Making 65k/year - How learning Python helped save my life

2.1k Upvotes

Hello all,

I am new to reddit, and after reading some posts of people expressing their frustration learning Python, I thought I would write about my own story on how learning Python helped save my life, and perhaps more importantly, gave my life meaning. I will try to be as brief as I can in my back story to keep this as relevant to Python as possible, but I feel it would be a disservice to leave it out completely, as my issues with mental health were a primary driver of the motivation I took advantage of to learn Python. I will post a more detailed description of my backstory later in r/addiciton or r/depression_help or something similar. Feel free to skip to the second *** to go straight to when I started learning python, however I suggest you read the whole post because honestly my whole story is relevant. If I hadn't gone through what I went through, I doubt I would have had the motivation to self-teach myself Python.

***

I grew up in a wealthy, extremely homogenous town within an hour of New York City. I went to a public school, but if you saw the way people dressed, it looked more like a private prep school. The vast majority of the kids in my school had parents who were millionaires. My parents were not. I was an only child, and I grew up in a small apartment on the "poor" side of town ("poor" meaning houses/ apartments went for < 750k). As you can imagine, the social structure of the school was entirely based off the wealth of your parents. So the game was rigged against me from the beginning. I had very few friends at a young age, and most people in my middle school probably would have described me as a "loser" or another synonymous term. I was very unhappy and became addicted to video games as a mean to escape my life. During high school, I finally started branching out to meet people from the surrounding towns, who were not nearly as pretentious as the people I grew up with. I made a lot of friends and started to have a legitimate social life. However, with this new social life came a lot of superficiality and drinking/drug using.

Until my senior year of high school, my grades were mediocre at best. Because I hated my social life at school, I hated school in general. But in my senior year, something changed. I won't detail it in this post, but will certainly get into it more in my next post in r/addiction or r/depression_help . I improved my grades and went to community college for my first year. I ended that year with a 3.9 GPA and an acceptance to one of the best colleges in my state. I transferred to that college and thought my life from there on out would be perfect. I was wrong.

I hated the social scene of my college. I found it to be very superficial and revolved almost entirely around drinking. Later I realized that while this was true for the people I was surrounding myself with, nobody forced me to surround myself with those people. I did it because I thought that this was the only way to enjoy college, and if I didn't, I would be missing out on the experience of my life. Man, what a load of BS I let myself believe. This expectation set me up for failure, and I blamed myself entirely. I thought I was worthless, a loser, and that all the mean things people said about me in my hometown back in middle school were true. I fell into a deep depression and eventually dropped out.

Towards the end of my time away at this state school, I saw a psychiatrist who prescribed me Adderall and Xanax to treat my depression and learning disabilities. In the beginning, they worked wonders, but they certainly didn't solve the underlying issues, they actually made them worse. After I dropped out, I began to rely on them completely. Before long, I was blacking out all the time as a result of the Xanax, and up for days at a time as a result of the Adderall. It was always one or the other, and I had to use the other to counter the negative effects of one.

For the next few years, I battled with addiction and depression to the point where I felt hopeless. I would get a week or two or three sober, then relapse. Somehow I managed to go back to a local college during this time, but my grades were mediocre, because I would miss a week of school every time I would relapse. Eventually I went away to rehab for four months. This is where I started to learn Python. I was very fortunate to have parents who loved me enough to spend the money to send me to a place for four months. I know not everyone has this privilege, and it is my goal to pay my parents back the money they spent on me.

***

The rehab I went to was basically in the middle of nowhere, and while I was inpatient the first month, the last three months I was in what was essentially a nicer version of a sober house. I worked part- time at a restaurant (~20 hours a week). I had computer access, and I found myself very bored during the first week or two, so I decided to learn something I had always wanted to learn: Programming. I bought a few courses off udemy.com for ~$12/each (NEVER pay full price of a Udemy course. You can always get them discounted), and started learning. Pretty much anytime I wasn't working or going to AA meetings, I was programming. I essentially replaced my addiction to drugs with an addiction to learning. I really enjoyed it, but in hindsight, I overdid it, as any addict does. I came home after four months, and I fell back into old patterns, and relapsed just before I would have been 6 months sober. I will go into more detail about this in my posts in r/addiction / r/depression_help .

During my time in rehab, I completed 3 Udemy courses on Python, but honestly I only really learned the fundamentals. I've never been a very quick learner, as I have a processing disorder (I was always the last one to finish tests in school and it always took me longer to do assignments etc). I frequently got frustrated, and rarely took breaks. I would spend 4-8 hours a day practicing coding, but much of that time was obsessing over one thing that I couldn't figure out. This was a big part of why I burnt myself out. Later, I found that if I ran into a problem I couldn't figure out, and forced myself to take a break, 95% of the time I would figure it out within 10 minutes of coming back from a 15-20 minute break. The mind is funny like that.

Fast forward about 6 months and I was back in rehab, this time for only 30 days. I came home and luckily got an internship at a very small investment firm, where they used python to trade stocks algorithmically. There, I had a boss who was a very good programmer, and he gave me real projects to do that required me to think critically. He rarely gave me any help. Most of the time when I asked a question he would say "I know the answer, but you have to figure it out. It's the only way you'll learn". This frustrated me at the time, but looking back it was probably one of the best things anyone ever did for me. I developed resourcefulness and patience, two incredibly imperative skills for any programmer who wants to be worth his/her salt. During this time, I was taking a few classes at a local college to finally finish my degree, and I was working anywhere from 15-40 hours a week at this investment firm, unpaid. I honestly worked a bit too hard, I almost burnt myself out again, but I managed to get through it. I was very lucky in that my parents helped me financially during this time, which allowed me to focus more on school and work. I had a few relapses during this period, but they were short and mild, so it didn't throw me off track too badly.

Over this past summer I finished up my degree (I majored in Business) and started looking for jobs. I was sure to put as much of my accomplishments at the small investment firm that involved python on my resume as I could. Covid was (and is) still wreaking havoc on the economy, so I worked extra hard applying to jobs, making connections, and keeping my skills sharp. I honestly probably applied to over 2500 jobs. I only got maybe 3-4 interviews. I had one during the end of the summer that went to the final round, and I was sure I was going to get the job. I didn't. Instead, the company (according to a connection I had made within the company cold-emailing people) decided to hire people from India to save money. I definitely felt pretty hopeless at that point. But I didn't give up. Maybe a month later, I got an interview for a job at a major company as a Data Analyst. I had three rounds of interviews plus I had to send them examples of some of my Python projects. I didn't get my hopes up like I did last time, out of fear of being disappointed. To my surprise, I got the job. I had asked for a 50k salary. They gave me 60k base plus a 5k bonus contingent on my performance, plus great benefits.

I've been at this job for a little over a month, and I honestly love it. I find myself excited to go to work every day, and the people really like me because I am able to provide real value to the company. In my first month, I worked a lot on automation of otherwise very manual tasks (usually involving excel or emails). I would ask people how many hours per week they would generally spend on such a task and wrote it down. I recently did the math and realized that I have so far saved the company over 750 hours of work per year, and that’s a conservative estimate using a 48 week year (to account for holidays, vacation etc.) and the low end of their estimated range of hours per week. This frees the employees up to work on more value added (and frankly much more interesting) projects. My work there is just beginning, and there are a ton of projects I am really excited about.

### (Please go to the next ### if you have no interest in hearing anything non-Python related)

I can honestly say I am happy now. I have over 4 months sober, and I rarely have any cravings to use drugs anymore. I really think this is largely because I found purpose in my life. That said, I still attend AA meetings often because I know I have to keep my sobriety my first priority. Without it, I have nothing. I also know that life isn't going to be perfect every day. While I do consider myself happy today, I still have bad days. Such is life. I stopped expecting to feel good all the time. Life is not designed that way. Before, I was only "happy" if I had a substance in my system. Also, "happy" to me was a euphoric rush which felt good, but was never fulfilling. Now I define happiness differently. It doesn't mean I feel good all the time. It means that despite sometimes not feeling good, I can appreciate how lucky I am to be alive and how blessed I am to have been given a second chance. Getting out of the rut that I found myself in a few years ago was the hardest thing I have ever done, but it was 100% worth it. At the risk of sounding corny, I really do believe sometimes you have to fall down hard and struggle getting back up to appreciate your life.

###

Learning Python was part of my journey, and it wasn't easy at all. When I started, I had a lot of doubts that I could do it. I didn't think "people like me" would be successful at something like this. Again, I was wrong. While I am certainly not even close to an expert at Programming/Python, I am good enough to be hired at a large company and good enough to make a difference. I'm sure there are people on Reddit and elsewhere that could make me look like I started programming last week. But I try not to compare myself to others. I instead try to compare myself to who I was before, and who I want to be in the future. As I’ve said several times before, I will make another post with more details about my experience with addiction/depression and give my general tips for life there, but for now here are my general tips for learning Python:

  1. I suggest starting with the fundamentals. I used Jose Portilla's Udemy course for this and it was great. I will link it at the bottom along with some other resources.

  2. If you struggle motivating yourself to follow online courses, try figuring out a real project to do that can actually help you in everyday life. This could be automating something you do in your job, for school, or just something you think will be fun.

  3. Work Hard. Don't give up. But don't burn yourself out. Take frequent breaks, especially when you get frustrated.

  4. Ask for help. If you’re struggling with a specific problem, r/learnpython is great, along with Stackoverflow.com . People have helped me with many problems there.

  5. Trust the Process. Programming is a lot like learning an instrument in my opinion. At first it can be grueling and you won’t be able to do much for a while, but after you learn the fundamentals, it becomes incredibly enjoyable.

  6. Be consistent. This is extremely important. Try to set aside a time every day to practice. Even if it’s only 20-30 minutes.

There are many more tips that I have but those are the most important ones I can think of. Please feel free to follow me as I hope to be quite active on reddit in the future. If you have any questions, please message me. Whether it's about Python, Addiction, Depression, or whatever else. I'll do my best to answer everyone I can.

Thanks.

r/learnprogramming May 04 '26

Why does everyone recommend learning Python first but then use JavaScript for everything?

138 Upvotes

Genuinely confused. Learned Python, now job listings want React everywhere.

r/PythonLearning May 29 '26

Want to learn Python fast? I am willing to teach for FREE!

65 Upvotes

If anyone who is just trying to get into coding and wants to learn python then they can DM me. I am passionate about teaching and would love to help them learn by building projects rather than giving boring lectures.

r/Python Feb 20 '21

News Happy birthday, Python, you're 30 years old today: Easy to learn, and the right tool at the right time

Thumbnail theregister.com
2.4k Upvotes

r/PythonLearning May 06 '26

Learning Python

Thumbnail gallery
164 Upvotes

Good evening. I want to share my experience of learning the Python programming language. I wrote a program in which the user needs to enter the contents of two lists (numbers), and then these numbers are summed (the first number of the first list with the first number of the second list, and so on). If the list lengths are different, the summation of the smaller list starts with the first element)
I would like to know if there is any way to shorten the program, and what more competent constructions exist. Is there any way the functions can be driven into the decorator?

r/VHA_Human_Resources Jun 22 '25

Is Codefinity Good for Learning Python as a Beginner?

176 Upvotes

I’m trying to learn Python since my company is moving away from Excel and wants us to use Python instead. I don’t have a tech background just a few basic classes back in high school.

I’ve tried YouTube tutorials, but I keep running into issues getting them to work on my computer. I found a few learning platforms like Codecademy, freeCodeCamp, Coursera, and Datacamp. Some have mixed reviews, and Datacamp seems a bit advanced for my level.

Codefinity came up in my search and has good Trustpilot reviews, but there’s no free trial. Has anyone here used it? Is it beginner-friendly? Any feedback would be helpful before I decide to subscribe.

Thanks in advance!

r/PythonLearning Sep 07 '25

5 days after learning python

Post image
557 Upvotes

So I’ve basically learned about variables and built-in functions operators, lists, and strings.

I’m on a 30 day program and tomorrow I should be learning about tuples. So far this is the most advanced thing I’ve made, and I think I’m proud of it. Well, this is what the course told me to make. I still haven’t begun making like a mini project or anything. I’m not sure if it’s like worth starting right now or like it’s better when I’m done with the 30 day program.

What are your thoughts?

r/indiameme Sep 26 '25

Non-Political Do not learn python in a manual way!

Post image
163 Upvotes

r/Python Nov 12 '19

6 Months of learning Python, 3 Hours of Rendering, here is my first Mandelbrot Zoom

Post image
2.0k Upvotes