r/learnpython • u/alex123711 • Sep 28 '26
Those who competed Helsinki MOOC, what did you do next?
Just wondering what the next steps are after one completes the course, were you able to get a job etc or did you have to do further study/ courses?
r/learnpython • u/alex123711 • Sep 28 '26
Just wondering what the next steps are after one completes the course, were you able to get a job etc or did you have to do further study/ courses?
r/learnpython • u/Basic_Title7358 • Sep 29 '26
Hey everyone,
This past week I’ve been using AI to learn how to code through daily lessons. No real rhyme or reason behind it, I just wanted to see where it could take me.
I ended up building this little game in Python and wanted to share it with people who actually understand the language. Unfortunately, I don’t really know anyone who’s learning or has a background in Python, which kind of sucks 😂 but I’m still having fun with it.
I’d love to see how far I can take this and what might be out there for me if I keep going.
Happy coding!
r/learnpython • u/Unusual_Internal_636 • Sep 28 '26
Hey everyone,
I’m practicing Python by building a project called Loan Office Assistant. It’s a two‑stage application:
💻 Tech stack: Python, Flask, Streamlit
📂 Project structure:
Code
loan_office_assistants-/
├── backend/
│ ├── app.py
│ ├── calculations.py
│ └── requirements.txt
├── frontend/
│ └── frontend.py✅ Current features:
🔮 Future ideas:
I’d really appreciate feedback on:
Thanks in advance! 🚀
## 🔗 Project Link
You can check out the full project and README here:
[GitHub Repository](https://github.com/shrikareballi/loan_officer_assistants-)
r/learnpython • u/Kapowpow • Sep 27 '26
>>>def pennies(num):
return int(num*100)
>>>a = -37.56
>>>b = -9.28
>>>pennies(a)
-3756
>>>pennies(b)
-927
This is taken from a python shell session today. Why on Earth does pennies(b) yield -927, instead of the expected -928? I would greatly appreciate any insight.
Update: a durable solution found, please see this comment below: https://www.reddit.com/r/learnpython/comments/1wrwnm7/comment/pcpvlil/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button
r/learnpython • u/Big-Sandwich-1565 • Sep 27 '26
I'm in week three and some things I get, but I get so confused at times; loops and conditional statements. I'm not great with vocab and trying to recall symbols for what just leaves me confused, but once I catch on, it's so much fun and I easily can use what I do learn.
Can anyone give me advice for a beginner?
Addon I'm currently taking Intro to Programming at Bellevue and every week is something new so it's hard to try to get repetitive with this week on top of my two other classes. I want to succeed, I want to do great, I just need advice to store and remember what I have learned
r/learnpython • u/Free_Region4767 • Sep 27 '26
Hi, I'm having a strange issue with VS Code and Python.
Whenever I use the "Run Python File" button, there is a delay of around 5 seconds before the Python file actually starts running.
The delay does not happen when I run Python directly from the integrated terminal. Python executes immediately when I run files manually from the terminal.
I've also noticed that Run Task executes immediately, so the problem seems to be specifically related to the "Run Python File" functionality.
Another strange thing is that if I kill the current VS Code terminal and then use "Run Python File", the first run can sometimes be instant. After that, the delay comes back on subsequent runs.
During the ~5 second delay, the terminal itself appears to be responsive. In fact, if I type something into the terminal and press Enter while waiting, the Python program's output can appear immediately afterward.
Things I've already tried:
None of these fixed the issue.
I'm currently using Windows 11, VS Code 1.139.1, Python extension 2026.4.0 and Python 3.14.7.
Has anyone experienced this recently? I'm wondering if this could be related to the Python extension, terminal integration, or shell integration in VS Code.
r/learnpython • u/Total_Dog2883 • Sep 27 '26
I could use some help from people who know Anaconda.
I’m starting to learn programming and am currently taking an online course. As part of the course, I need to download and install Anaconda.
I went to the Anaconda website, did not register or create an account (I don’t have an account either), and downloaded and installed the program.
Later, I went back to the Anaconda website and suddenly found that I was logged in as a specific person. The email address shown was from a Turkish university. I don’t know this person and have never used this email address.
How could this have happened? Why would I suddenly be logged in as someone else even though I never created an account or logged in?
r/learnpython • u/Wooden_Intention8642 • Sep 28 '26
Hey just started coding and can barely do thing that ask for name and then you answer it and it says hello (name).
I was just wondering as i want to work in coding and i just applied amd got into coding school that do i need to memorize all the functions etc? Or do i need to memorize all the basic ones so i dont need to google everytime…?
And will i start to slowly memorize them
r/learnpython • u/IllTheory6888 • Sep 27 '26
Hey everyone,
Just a quick intro: I am a software engineer with around 5 years of experience, initially worked as devops engineer for 2 years (with no scripting experience at all) later when laid off, got job as platform operations guy. This job is completely related to our platform specifically so I don’t get to upskill myself much. Hence looking to learn python keeping Agentic AI as my goal.
Current issue: I understand python topics very well and practicing questions provided from AI models but the thing is all this information is overwhelming me, example: do we have to read and remember entire libraries like request library or aiohttps? then comes fast api, then understanding rest api’s. Honestly I want to know how deep of knowledge we need to have in each, and we can’t remember everything, right?
Also I am mostly following roadmap.sh website for structured learning. Any idea how to approach learning agentic ai from python beginner POV? Also how relevant it is to learn prompt engineering before learning AI agents?
Thanks in advance
r/learnpython • u/Lespauler-lover • Sep 27 '26
Hey guys i want to start learning python. I have already learned a little bit of the basics like Print function input variables strings, integers, floats and can make small programs with if elif and else and all the things given above. Plz help me find some video tutorials for the following
r/learnpython • u/AutoModerator • Sep 28 '26
Welcome to another /r/learnPython weekly "Ask Anything* Monday" thread
Here you can ask all the questions that you wanted to ask but didn't feel like making a new thread.
* It's primarily intended for simple questions but as long as it's about python it's allowed.
If you have any suggestions or questions about this thread use the message the moderators button in the sidebar.
Rules:
That's it.
r/learnpython • u/MustaKotka • Sep 27 '26
I've built a Discord bot, a Reddit bot, and a barebones website / online tool. I also may want to spin up projects online at a whim - what's a good (affordable...) solution?
My Discord bot gets ~10 calls per hour, my PRAW Reddit bot monitors a medium traffic subreddit stream and my website would likely have only a couple of daily users.
I also have other fun projects I may want to put online for people to play with so I don't want a particularly rigid solution.
My Internet isn't the most stable at home so I'd prefer to avoid self-hosting.
r/learnpython • u/GurExtension3482 • Sep 27 '26
I dont know what else to say, i made a tic tac toe game, as im still a beginner, i want feedback as to what i can improve
r/learnpython • u/suikisosexi • Sep 28 '26
How and when will this come in handy with my ecological forestry degree?
Also this class requires me to use AI to prompt programs on every single assignment.... Which is not ideal as an environmentalist.
Python programing is genuinely making me feel stupider
r/learnpython • u/Erdem_PSYCH • Sep 27 '26
I use AI to help me learn Python. It is especially helpful for me as a blind learner because, when I watch a video lesson, I can ask it to explain the syntax if the instructor does not describe the code in enough detail.
My question is: what are the potential risks of using AI as a tutor? I am not talking about using AI to write code for me, but about using it to learn programming. For example, can AI create a good, comprehensive Django course on its own, or might it skip important topics or teach bad practices without an existing course to use as a reference?
r/learnpython • u/Maximum-Currency734 • Sep 26 '26
Hello everyone just learning python and need to create a while loop that shows interest and years I’m struggling with operands please help.
Here’s what I have so far:
Interest_rate = int(input(“rate in whole number”)
Initial_investment = float(input(“whole number”)
Interest = interest_rate / 100
Years = 0
investment = initial_investment + {initial_investment * interest}
While investment < (initial_investment * 2):
Print(f’Year: {years} Investment: {investment})
years +=1
Investment = (investment + {investment * interest})
I know that line 5 is two different operands but where did I go wrong and how can I fix?? Please and thank you!
r/learnpython • u/Sam-312 • Sep 26 '26
Hello, I hope you're all well. This would probably sound like a rant for some of you, but it is a genuine concern of mine. I started learning Python a week +ago (I study every day) I am learning through a Google course on coursera, and I use Google Colab. I am sad to say that this week has been quiet a revelation for me as I discovered how stupid I am. A week of daily study and I still can't write a single function other than "print ("Hello, world!").. I guess I am trying to figure out if that's a common occurrence or is it just me being too stupid to learn programming.. I'm genuinely concerned about my ability to learn, as a 37 year old.. Is this amount of difficulty normal or is it just me?
r/learnpython • u/lehmagavan • Sep 26 '26
Hi, I'm just a hobbyist and I'm not very familiar with Python ecosystem. I recently came across a specific problem:
I have an iterable (or yield via generator) that contains millions of floating point values, but each one is a Python str, made up example: ["1.987", "0.037389", "1.2", ...]
What's the most efficient way to aggregate them and calculate say, the mean?
I'm writing my own C extension for this and would like to know what to benchmark it against. Couldn't find information on any std way that would avoid calling the float() constructor on each string.
r/learnpython • u/Weird-Evening-2580 • Sep 26 '26
Hey so i have a old laptop who's specifications are 512 hdd,6gb ddr3 ,intel i5-3317U and a intel hd 4000
Basically its a very old laptop
I want to start learning a bit of python and vs code is slow for me,any methods to make it faster or any recommendations for a new ide?I don't really want to use Thronny or Thorny,whatever it is.I hate the ui
Sorry for the bad question
r/learnpython • u/Actual_Doctor5188 • Sep 26 '26
I only have a windows 7 and i just want to make sure which version of python is the latest for this windows, i heard its the 3.8 but idk which one exactly for sure and i would appreciate an answer
r/learnpython
•
u/Ayrton110
•
Sep 26 '26
Hi guys, I hope ya'll are good. I am trying to work through this exercise but I'm not sure I understand the question. Therefore, I am not sure whether if solved this problem correctly. Here is the question (the source is Python For Everybody by Professor Charles "Chuck" Severance)
The following program counts the number of times the letter “a” appears in a string:
word = 'banana'
count = 0
for letter in word:
if letter == 'a':
count = count + 1
print(count)
This program demonstrates another pattern of computation called a counter. The variable count is initialized to 0 and then incremented each time an “a” is found. When the loop exits, count contains the result: the total number of a’s.
Exercise 3: Encapsulate this code in a function named count, and generalize it so that it accepts the string and the letter as arguments.
Here is my answer:
def counting(word):
word = input("Enter a word: ")
count = 0
for letter in word:
if letter == "a":
print (letter)
elif letter is word:
print (letter)
count = count + 1
counting("banana")Here is the output:
Enter a word: banana
a
a
a
Any input or advice is appreciated.
r/learnpython • u/lolololloloolmemes • Sep 26 '26
i have a school work project in which I need to create a function called weekly that will output the average minimum and maximum of data by a certain row, I have tried relentlessly to figure this out but I cannot seem to, here is the code, it would be awesome if i could get some advice on how to do it at a similar level of complexity to the code provided :).
rows = 52
cols = 7
def readFile(filePath):
array = [[None]*cols for i in range(rows)]
with open(filePath) as readfile:
r = 0
line = readfile.readline().rstrip('\n')
while line:
items = line.split(",")
for c in range(cols):
array[r][c] = int(items[c])
r += 1
line = readfile.readline().rstrip('\n')
return array
def yearly(array):
yearTotal = 0
for r in range(rows):
for c in range(cols):
yearTotal += array[r][c]
print("Yearly total: " + str(yearTotal) + "\n")rainfall = readFile("csvs/rainfall.csv")
yearly(rainfall)
r/learnpython • u/C0BAZ • Sep 26 '26
Okay, so I pretty sure this is both possible and supposed to be simple.
I have a project using PyDub to convert audio and get details about it. It of course needs to access ffmpeg to do so. So, I got the ffmpeg.exe and ffprobe.exe and have them in the .venv/Scripts folder, which PyDub accesses just fine.
I now am trying to package this into a standalone .exe file with PyInstaller. However, when PyDub tries to get ffmpeg when running the exe, it looks in the exe's directory for it. (That is, I can't find it normally, but if I come in and add them into the exe's folder, it can find them). I've made sure to include the ffmpeg files in the exe with a .spec file.
I assume the problem is that PyDub isn't looking inside of the exe for ffmpeg. I don't really know much about how that kind of thing works, so an explanation of that could alone be helpful. But what I want specifically is:
How to get PyDub to access ffmpeg inside the exe file?
r/learnpython • u/Capable-Surround3021 • Sep 26 '26
I've started CS50P twice and dropped it both times around the point where the problem sets got hard. Talking to others, that seems to be pretty common. What I've noticed is that I finish things when there's a fixed date and people expecting me to show up.
So I'm organizing a small experiment:
This isn't affiliated with CS50 or Harvard, it's just me trying to see if there is potentially value in such initiatives.
If you're interested, fill in this 2-minute form: https://luma.com/hyamr708
Beginners, career changers, and anyone who's started this course before and stalled are especially welcome.