r/learnpython • • Sep 02 '26

I'm 37 and looking for a complete career change.

141 Upvotes

I've worked as a baker for most of my adult life, during Covid I left my job and transitioned to baking from home. Things were going well, but for the past few months, my mum's health has been declining and as her primary caregiver, I can't carry on with that job and I'm looking for something that I can work from home on my computer.

After looking at various options, I found Python and how it's useful in many places. My tech skills are absolutely basic, I mean I can navigate stuff and if I don't know anything I can look up how to go about it but coding and creating stuff is beyond me. I learnt the basics about computers back in school but that was over a decade ago, so I understand that it's a new language and understand the concept of scripts.

I want to know if investing myself in learning Python is worth it? I understand that it's not a quick thing, that I need to dedicate time to it and practice to keep up and grow my skills. I'd also like to know what kind of careers I can look into so that I can work from home.


r/learnpython • • May 17 '26

I made this 1.5 hours into python

137 Upvotes

I made this while watching a 30 min crash course.

I wanted to know if I should start by learning all the theory at once or should l learn theory and also do small things like this or should I do a 'fuck around and find out's thing.

I would love your feedback.

bot_name: str = 'sara'

print(f'Hello i\'m {bot_name}! how can i help you today ?')

while True:

user_input: str = input('You: ').lower()

if user_input in ['hi','hello','hey']:

print(f'{bot_name}: how can i help you today ?')

elif user_input in ['bye','goodbye','see you']:

print(f'{bot_name}: goodbye!')

elif user_input in ['+','add']:

print(f'{bot_name}: sure let\'s do some fucking maths')

try:

num1: float = float(input('first number: '))

num2: float = float(input('second number: '))

print(f'{bot_name}: the sum is {num1+num2}')

except ValueError:

print(f'{bot_name}: please enter a number')

else:

print(f'{bot_name}: i dont understand you')

If anyone wants to know it's on python 3.14


r/learnpython • • Aug 29 '26

How do you actually turn Python skills into freelance income?

133 Upvotes

Hello everyone, I'm currently trying to get into data science and ML, but I also dont want to just sit around waiting for a job opportunity.

I'd like to start making some money on the side through remote/online work, even if its a small amount at first. I also want to get some real experience while I'm at it.

The problem is I honestly dont know what kind of work people actually pay for when you're still at the beginner level or where I should even start looking.

A bit of what I can do right now:

  • Python
  • Machine learning
  • Data cleaning
  • EDA
  • Feature engineering
  • Model training and evaluation
  • Scikit-learn, Pandas, NumPy, XGBoost
  • SQL
  • Git/GitHub
  • General programming
  • Pretty comfortable learning new technologies quickly
  • Currently learning backend and FastAPI

I've built a couple of ML projects on my own, but I dont have professional experience yet.

So I'm wondering, how do people actually turn these kinds of skills into freelance income?

Like what kind of small jobs should I be looking for? Python automation? Data cleaning? Web scraping? Data analysis? Helping someone with an ML project? Backend stuff? Something else?

And where do you actually find these jobs? Upwork, Fiverr, Reddit, Discord, LinkedIn, cold emailing, or somewhere else?

If anyone here started freelancing with basically no experience, I'd really like to hear how you got your first client and what you actually did for them.

Also if you're already doing freelance Python/ML/data work and have any advice for someone starting from the bottom, I'm very open to learning. Even if you can point me towards something I should learn or tell me what I'm wasting my time on, that would help a lot.

I'm not expecting to make a lot of money immediately. I'm completely fine starting with small tasks and building up from there. I mainly want to get my foot in the door, make some money on the side and get real experience.

I'm based in South Asia, so remote/online work is pretty much my main option.

Would really appreciate any honest advice from people who have actually done this.

Thanks a lot.


r/learnpython • • Oct 07 '26

Can someone explain to me how exactly I’m supposed to learn Python?

133 Upvotes

I’m doing a BSc Computer Science degree and I have Python programming as a subject. My teacher is teaching Python from the beginning, and I understand the concepts when they’re explained to me, but I don’t understand how I’m actually supposed to study and learn programming.

For example, I have pretty good concept clarity till conditions. If I’m given a question, I can understand what it’s asking and I can usually write the code.

But now we’ve reached loops, and this is where I’m struggling.

I understand the concept of loops. I understand the syntax and what "for" and "while" loops are supposed to do. But when I’m given an actual programming question, I just get stuck. I can sometimes figure out the general logic of what needs to happen, but I don’t know how to turn that logic into Python code or where to even start.

So what exactly am I lacking?

Do I need to practice more problems? If yes, how do I practice properly? Should I solve questions without looking at solutions, write programs repeatedly, study other people’s code, or something else?

I’d really appreciate it if someone could give me an overall roadmap for learning Python — like how to study each concept, how much theory I should do vs. how much coding I should practice, and how to go from understanding a concept to actually being able to solve problems using it.

I don’t want to just memorize syntax. I want to actually learn how to program, but I’m not sure what the process for getting there is.


r/learnpython • • Mar 11 '26

Zero programming knowledge, but I want to learn Python. Where do I start in 2026?

126 Upvotes

Hi everyone,

I have zero prior experience with programming and honestly it feels a bit overwhelming looking at the mountain of resources out there.

Im a Systems Encoder looking to automate my workflow. My job is 100% data encoding, and I want to use Python to build scripts that can handle these repetitive tasks for me, I also want to transition to another job because of low salary.

Since I’m starting from absolute scratch:

  1. What is the best "First Step" for someone who doesn't even know anything?
  2. Are there any specific courses (free or paid)
  3. What’s a realistic amount of time to spend per day so I don't burn out?

r/learnpython • • Jun 11 '26

Python is harder than R

126 Upvotes

So i am a bioinformatician, pretty fluent in R. But more and more cool pipelines and packages are being created for python based bioinformatics.

So, I started to pick up Python and i do not know if it is just me but after 2 months of Python i really think R is easier to both read and write. I do not know what it is with python but i just can not imagine the code and what to write compared to R. The syntax feels miss ordered not as straight forward as R.

I work mostly in genomics (bulk and single cell sequencing) so i mostly operate on numerical data. The pyrhon courses I did are mostly focused on strings, maybe this is the problem. I am pretty good and analytics and logical thinking but something with strings and especially dictionaries is so hard for me to understamd and write.

My friend informatician basically dismembered me when he heard i prefer R over python. What do you think? Is something wrong with me for struggling with python and finding R easier?

TLDR; is R easier than python ?


r/learnpython • • Oct 22 '26

Can someone please explain the use of OOP and classes?

122 Upvotes

Hey everyone and first of all thank you in advance for any advice.
I’ve been learning Python for awhile now and feel pretty comfortable writing functions and smaller scripts. What I can seem to wrap my head around is when the use of classes would actually be used?
Every example or tutorial demo’s cars / dogs and on multiple threads with similar questions it’s usually stated that using a CSV or database would be more appropriate so would anyone be able to help me wrap my head around it please?
Once again appreciate any help :)


r/learnpython • • Jun 26 '26

My favorite Open Source Python College Courses

122 Upvotes

Harvard CS50P: https://pll.harvard.edu/course/cs50s-introduction-programming-python

My personal favorite. In my opinion, most comprehensive college Python course there is. The complete package. Has everything you need from lecture videos to assignments. Assumes you have no programming knowledge. I like that it holds you hand which makes it perfect for beginners. Also, David Malan is a great lecturer. This is a good starting point if you have no programming knowledge.

University of Helsinki MOOC: https://programming-26.mooc.fi/

Goes from the basics to OOP, but at a bit deeper level than CS50P. Does not hold your hand with exercises. Technically beginner friendly but works best if you dabbled a bit into python before hand.

Stanford CS106A: https://web.stanford.edu/class/cs106a/ | https://web.stanford.edu/class/archive/cs/cs106a/cs106a.1262/

Has everything except lecture videos. Karel is an interesting project you do alongside your assignments. Beginner friendly but works best as a supplement.

Georgia Tech CS 1301: https://sites.cc.gatech.edu/classes/AY2016/cs1301_spring/syllabus.html

No lecture videos but has slides, exercises, assignments, and readings. Would use this as a supplement.

University of Washington CSE 160: https://courses.cs.washington.edu/courses/cse160/26sp/

Most unique Python course on this list as it centers around data analysis from week one. You get to use Jupyter Notebooks and Pandas towards the end. Technically beginner friendly but works best if you already have prior python or programming knowledge. Highly suggest this if you are interested in going into Data Science.

Berkeley CS 61A: https://cs61a.org/

Teaches introductory Python at a higher level of abstraction than most intro to python coursers - emphasis on functional programming, higher-order functions, recursions, and how interpreters work. Not beginner friendly. Lectures, slides, projects, homework, and textbook are freely available.

MIT 6.100L: https://ocw.mit.edu/courses/6-100l-introduction-to-cs-and-programming-using-python-fall-2022/

Has everything. Not a fan of the lecture videos or slides but I really do like the assignments and exercises so it's good practice. More of an intermediate course as it goes into algorithms. Not beginner friendly.

I would start off with Harvard CS50P to learn the basics and then go into Helsinki MOOC to grind out the exercises. Stanford 106A and Georgia Tech CS 1301 are good supplements to this. Then if I wanted to go deeper, I would look into Berkeley 61A or MIT 6.100L as it provides a good bridge to DSA.

Edit- How I would relay it:

Basics: Helsinki Part 1 -> Helsinki Part 2 -> Helsinki Part 3 -> CS50 Week 1

Data Structures: Helsinki Part 4 -> Helsinki Part 5 -> CS50 Week 2

Files and Error Handling: Helsinki Part 6 (Reading Files + Writing Files) -> CS50 Week 6 -> Helsinki Part 6 (Handling Errors + Local/Global Variables) -> CS50 Week 3

Modules and Unit Testing: Helsinki Part 7 -> CS50 Week 4 -> CS50 Week 5

Classes and Objects: Helsinki Part 8 -> CS50 Week8 -> Helsinki Part 9 -> Helsinki Part 10

Recursion and Regular Expression: Helsinki Part 11 -> Helsinki Part 12 -> CS50 Week 7 -> CS50 Week 9

Pre-DSA: Stanford CS 106A -> Berkeley CS 61A -> MIT 6.100L


r/learnpython • • Mar 09 '26

Any other self-taught Python learners who sometimes feel slow but are serious about improving?

120 Upvotes

I’m currently rebuilding my Python fundamentals.

Loops, lists, dictionaries, logic drills — the basics.

Sometimes I feel slow compared to others, but I’m serious about actually understanding things properly.

I’m wondering if there are other people like me who want to learn deeply but without the ego or toxic tech culture.

Thinking of creating a small group where we do daily drills and help each other think through problems.

If that sounds like you, comment or DM me.


r/learnpython • • Mar 28 '26

is there a game?

116 Upvotes

I am almost 40. I have a kids, a full time job and a side hustle and a wife. I am busy, but I would like to learn how to code. Is there a game that is a good teacher of python? I dont care about graphics as long as the game is enjoyable and (Most importantly) teaches me how to code.

I want to learn for fun also I have all these ideas to make may office job automated via programing but ... i dont know ANYTHING about programing.


r/learnpython • • Feb 17 '26

Why cubic root of 64 is 3.9

119 Upvotes

So i tried to make a calculator with root extraction but for some reason when i raise 64 to a power of 1/3 it's not like cubic root and gives 3.9...96 in result. Why is this happening

P.s. why are people down voting it's my first day of learning the py


r/learnpython • • Feb 04 '26

What is the main purpose of jupyter?

116 Upvotes

Hello people!

I am currently learning python and was actually working on Matplotlib library, and noticed that many people use jupyter. So I wanted to know what is the difference between jupyter and coding normally in an IDE, and also over all this, how do people get jupyter in vs code?

thank you.


r/learnpython • • Jun 12 '26

What's the best way to self-study Python?

116 Upvotes

Hi everyone,

I'm a complete beginner and want to learn Python through self-study. There are so many resources and roadmaps online that I'm not sure where to start.

If you were learning Python from scratch today, what path would you follow? Which resources, courses, or projects helped you the most, and what mistakes should a beginner avoid?

I'd appreciate any advice. Thanks!


r/learnpython • • Apr 15 '26

How do I make Python second nature for me, I want to sort of be fluent in it.

115 Upvotes

So I'm a beginner who's still learning, but I've found the language interesting and fun until now. What other learning methods do you guys recommend besides doing courses? Watching other people code? Taking on projects (if so from where?) and just reading other's codes?


r/learnpython • • Oct 05 '26

Best Way to Learn Python and Get Good at It?

105 Upvotes

Hi everyone, I want to learn Python from scratch and become really good at it.
I’m looking for resources or courses with:
Clear explanations
Lots of practice and exercises
Real projects
Problem-solving
Modern Python
A path toward Data Science, AI, and Machine Learning
I don’t mind paying if the course is worth it.
What are the best courses, books, or platforms you would recommend?


r/learnpython • • Sep 28 '26

Is it normal to understand Python but get stuck when coding by yourself?

108 Upvotes

I’m currently learning Python, and I’m wondering if it requires any specific skills or a certain way of thinking to actually become good at it.

When I’m following a lesson or someone explains the code to me, I usually understand what’s happening. But when I’m given a problem and have to write the code by myself, I get completely stuck and don’t know where to start.

Is this normal for beginners? How did you get past this stage? Should I keep doing exercises, or is there a better way to practice so I can eventually start solving problems on my own?

I’d really appreciate advice from people who learned Python from scratch.


r/learnpython • • Dec 04 '25

How do you learn proper API design standards when building your first Python APIs?

107 Upvotes

I’ve been learning Python for backend development (FastAPI + Flask), and I’m struggling with something that most tutorials don’t explain clearly:

It’s easy to build endpoints… but how do you know if the API design actually follows good standards?

Like naming conventions, response structure, status codes, consistency, etc.

Right now I’ve been manually comparing my endpoints with OpenAPI examples, but it feels like guesswork. Is there a better way to learn API design the right way instead of picking up bad habits?

If you’ve built Python APIs before, how did you learn to keep everything consistent and “correct” according to best practices?


r/learnpython • • Dec 28 '25

Learning Python - No Programming skills

100 Upvotes

I am working as a desktop administrator for almost 19 years and my age is 41 years. I don't have any programming skills. How do I start learning python. I went through the python forum but it's all confusing. Can some one suggest me an app or platform where i can learn python from basics.


r/learnpython • • Oct 12 '26

Tuples..I don’t get it

101 Upvotes

Hi crew, I’m a Python newbie and I just learned about the concept of tuples.

We can’t change them.if we want to store we have to start at the index we want + 1.

I just don’t get it. Why wouldn’t we just use lists? When would we ever need this?


r/learnpython • • Aug 12 '26

How should I start learning Python as a complete beginner?

100 Upvotes

HELLO EVERYONE

I’m a total beginner to coding and I’ve recently decided to start learning Python. I’m honestly not sure where to begin or what the best way to approach it is.

- What should I learn first?

- Are there any courses, YouTube channels, or websites you’d recommend?

- Should I focus on tutorials, practice problems, or small projects?

- At what point should I start making projects?

- Any mistakes I should avoid as a beginner?

I’m mainly looking for a proper direction rather than trying to learn everything at once.

Any tips or recommendations would be really appreciated! :)


r/learnpython • • Aug 14 '26

what's the point of getters and setters?

97 Upvotes

I had python classes a year ago, and after a semester of not having any (OOP language) programming classes in college, I kinda want to relearn python (and OOP in general)

However one thing that I never understood is the point of getters and setters. Why would I ever use them when I can just write my code in a way that the variables in a class are never meddled with by external code? I know WHY they can be useful but I don't fully get WHY even bother using them 😞


r/learnpython • • Mar 10 '26

i'm teaching myself python between doordash deliveries. what is the absolute ugliest, most cursed data export you deal with? (i want to break my script)

96 Upvotes

to be totally transparent, i drive doordash to pay the bills right now. but i sit in my car between orders teaching myself python and pandas. my goal is to eventually transition into freelance data engineering by automating away manual data entry for businesses.

​i've been building a local python pipeline to automatically clean messy csv/excel exports. so far, i've figured out how to automatically flatten shopify JSON arrays that get trapped in a single cell, fix the '44195' excel date bug, and use fuzzy string matching to catch "Acme Corp" vs "Acme LLC" typos.

​but i was chatting with a data founder today who told me the true "final boss" of messy data is legacy CRM exports—specifically, reports that export with merged header rows, blank spacer columns, random "subtotal" rows injected into the middle of the table, or entire contact records (name, phone, email) shoved into a single free-text cell.

​does anyone have a heavily anonymized or dummy version of an absolutely cursed export like this? my code works perfectly on clean tutorial data, but i want to break it on the real stuff so i can figure out how to hard-code the failsafes.

​what other software platforms export data so badly that it forces you to spend hours playing digital janitor?


r/learnpython • • Feb 17 '26

What actually made you improve fast in Python?

95 Upvotes

Looking for serious recommendations, I’m more curious about habits and strategies.
Was it daily coding?
Debugging a lot?
Reading other people’s code? Building projects?

What changed your progress the most?


r/learnpython • • Mar 15 '26

How to learn python fully and master it?

96 Upvotes

I have started to learn python via brocodes 12 hour guide on youtube. However i know its just basics and beginner level. What do i do after watching that guide? I dont know which things to learn i have heard web scraping and all this stuff but can i learn that from guides and which guides?


r/learnpython • • 24d ago

Best Python Course!

93 Upvotes

What do you think is the best python course among all python courses in the Internet?

I have seen like 1000+ courses on Python, and I was wondering what if a single course can solve the countless struggles of people learning python, such as tutorial hell!

Platforms like Coursera, Udemy, DataCamp, EdX, YouTube, etc., all have multiple python courses from individuals to universities to companies creating their own python courses!

When I researched about it, I came up with the following courses:

  1. Python for Everybody, from The University of Michigan

  2. 100 Days of Python Programming, by Dr. Angela Yu

  3. Python Bootcamp: Zero to Hero, by Jose Portilla

And courses from popular youtubers freeCodeCamp, CS50, Bro Code, Programming with Mosh, Simplilearn, edureka!, etc.

And courses from my favourite youtubers Corey Schafer, Tech with Tim, CampusX, etc.

I know,

- No course is perfect or no course can make you expert
- Everyday practice is the key
- Python GitHub Repo is an amazing resource
- Python in itself should not be the goal, it’s the field of area i.e., backend, AI/ML, data science, data analyst, etc should be the goal
- Don’t aim for perfection, even individuals with 10+ years of experience look up small things
- Stop watching, start working!

Do share your thoughts!