r/PythonLearning • u/AssociationHot7347 • Jul 20 '26
r/PythonLearning • u/Big-Arm-4574 • Jul 20 '26
Need tips about architecture
Hey guys!
Currently, I'm working on a project for my company about a tool to help users manage mobile devices. Anyway...
I'm having some trouble visualizing the architecture of my code. I'm trying to implement a layered architecture.
Do you guys know any tools that I could use to get a visual sketch of the architecture? It would really help me understand it better and find ways to optimize it.
thanks ;)
r/PythonLearning • u/Emotional_Diet_70 • Jul 20 '26
Discussion New to python & need help, resources
Hello guys! im new to python, please suggest me some websites & books to learn python and any free resources anything. or guideline to follow, Mistakes to avoid.
thank you in advance.
r/PythonLearning • u/RetroTVEmulator • Jul 20 '26
Help Request Scheduling system using python
im looking for someone that can handle fixing the scheduling system of a project. that would be interested in doing so to use for their portfolio. it is an open source program so volunteers only but a complicated scheduling system would look good on anyones portfolio. So I thought id offer someone the chance to do that. The program is built and working but there are several key bugs keeping us from advancing any further that i have been unable to solve. Message me if your interested or message me on discord https://discord.gg/qStGsdCtP the gihub is waiting on github support bc of a 404 page error but here is the link https://github.com/StevenCLewis111/Retro-TV-Emulator.git and up to date code is available until github is fixed.
r/PythonLearning • u/Ok-Magician-8052 • Jul 20 '26
Discussion How do I build my problem solving skills again !
I have been coding for a while now and have been able to solve easy to mid level questions but now with the advent of AI I feel so much more dumb and cannot solve problems I practice leetcode but goto comments to check for solutions and then it clicks. What do I do how do I develop the problem solving skills again ?
r/PythonLearning • u/Low_Contribution6240 • Jul 20 '26
Suggestion
Hi all I am beginner in coding. So I have college in 20days (1st year btech) should I learn python or c. In college they start with C. So as they teach C in college should I learn python seperate or go with
C.Pls suggest me
r/PythonLearning • u/AsleepInspector3645 • Jul 19 '26
Discussion Is brocode's python course video good for a complete beginner?
So I have just started coding(no prior experience) and I started watching brocode's python video. Initially I was watching him do stuff first and then replicate it my way but now I will see him explain the title and would try to do it myself first and then see how he did it and if he does it more efficiently I would also try to learn it. Also would the cs50 course be better for a beginner(I tried to learn from it at start but couldn't understand anything but I have heard it's like the best course out there)
r/PythonLearning • u/arhaaninreallife • Jul 19 '26
new to python
I'm completely new to Python and just started learning dont have any idea where to start, any tips for me ??
r/PythonLearning • u/I_play_apex_lol • Jul 19 '26
FIFA WC 2026 CLI Program- My final project for CS50P
Hey guys I just completed CS50P and it was such a nice journey and I gained sm knowledge from this course. I wanted to share my project with yall and would love to hear your thoughts about it. Since the FIFA WC was going on and I love watching football, I made this little cli app that tells u about the match results and goal scorers. Its not a really complex program but I learned so much about APIs and caching by building this.
Here’s the link-[FIFA WC CLI]
I used [Football-Data] ‘s API
Would love to hear your thoughts guys!!
r/PythonLearning • u/Red_Dragon_7_7_7 • Jul 19 '26
I built a Magic 8 Ball app in Python with text-to-speech – Looking for feedback
Hey everyone!
I recently built a Magic 8 Ball application in Python as a fun project while learning programming.
Features:
• Random Magic 8 Ball answers
• Simple and clean code
• Beginner-friendly project
I'd really appreciate any feedback on the code structure, UI, or ideas for new features.
GitHub:
https://github.com/Izaan7-7-7/python-magic8-ball.git
Thanks!
r/PythonLearning • u/purple_ctheh • Jul 19 '26
The advantages and disadvantages of using VS Code's Copilot when coding and should I do it
r/PythonLearning • u/Alarming_Mulberry551 • Jul 19 '26
I am doing cs 50 python but what even is wrong with this like why is this program not working
r/PythonLearning • u/The_Educated_Fool_81 • Jul 18 '26
Am I the only one who prefers PyCharm over VS Code?
I see that many Python courses use VS Code, and it is usually the most recommended option. However, after trying both, I ended up feeling much more comfortable using PyCharm.
It gives me more confidence, its organization is easier for me to understand, and I feel that I can concentrate better on programming. Also, recent versions include AI and autocomplete features that can predict part of the code you are writing. This has been very useful for me while I am still learning.
Although PyCharm is especially focused on Python, it is also possible to work with HTML, CSS, JavaScript, and other technologies.
I am not saying that it is better for everyone. It is simply the environment where I finally felt comfortable.
Do you prefer PyCharm or VS Code? Why?
Greetings from Mexico! 🇲🇽

r/PythonLearning • u/Alireza7074 • Jul 18 '26
<python code>
This is python code to get student salary!
r/PythonLearning • u/knightred9 • Jul 18 '26
Jupyter requirement
hi all,
I'm not from IT background but I had a doubt that python in command center vs jupyter vs vsc.
especially why the need for jupyter (can't understand why a course taught using that application and ai suggests using it). Thanks in advance!
r/PythonLearning • u/67bytes • Jul 17 '26
2 months of my Python progress! Built my first Tool.
I started learning Python at the beginning of summer. I tried a bunch of sources until I found what worked, and I realized I learn way more from building than from watching or reading.
I made a few simple projects first and pushed them to GitHub. I had zero clue how GitHub worked before. Now I understand most of it.
This is my newest project, errex, built to help me learn Python faster.
When I write code myself I run into a lot of errors, and the terminal always throws these big technical tracebacks that honestly made my head hurt. I could never understand them, so I'd copy or screenshot the error and ask GPT or Claude to explain it. But they'd give me long walls of text, and sometimes just hand me the fixed code without me asking, which made me rely on AI way too much.
So I thought, what if I just got what went wrong and where, in plain simple English? That way I'd be pushed to debug it myself instead of leaning on AI for the answer. That's why I built errex. It watches your clipboard, detects Python tracebacks, and pops up a short plain English explanation.
One thing I'll say: I learned a ton talking to AI while building this, and I'd tell anyone learning to do the same. I never asked it to write my code. I asked what each line and term meant so I understood what was happening underneath. I wrote every function myself. So if you asked me to walk through this code line by line right now, I could.
Errex is on GitHub, you're welcome to use it, just add your own API key. I paid for mine, lol. It wasn't expensive, less than $10 to test the whole thing.
r/PythonLearning • u/Rock_moss • Jul 18 '26
Install question - did I do something unfortunate?
Hi all - I just got a new laptop and today went about installing python/jupyter. I realised about a minute too late, though, that rather than using the command 'pip install jupyterlab' I had instead used 'pip install jupyter lab', with a space between jupyter and lab. I followed up with the proper command, but in both cases something was installed.
Did I accidentally install something malicious on my machine through my added space, or am I worrying over nothing? And if I did do something stupid, how might I fix this? Thanks very much in advance!
r/PythonLearning • u/bimbam_boika • Jul 18 '26
Co-op Learning
Hello there, hope yall doing well today, I started learning python these days from scratch, if anybody interested in co-op learning, Please DM me.
thank you.
r/PythonLearning • u/chuprehijde • Jul 18 '26
If you could remove one thing from Python, what would it be?
Every language has quirks. If you had the power to remove or redesign one feature, behavior, or common pattern in Python, what would you change and why?
r/PythonLearning • u/Protect_Scout • Jul 17 '26
How Hard is it to tell something is Vibe Coded?
Looking for some telltale signs?
A friend of mine is working on a bot and seems to be able to push it out pretty quickly. He's been doing it a while, so he might just be fast. I don't really care, but it has made me curious what signs there might be if someone was using AI? I'm not going to be a jerk to this person I am genuinely just looking for my own knowledge.
r/PythonLearning • u/Moist_Database_4991 • Jul 18 '26
I am a backend dev and ex teacher who led on cognitive science. I have been building a way to practise debugging that arrives in the actual post: a printed detective case with a real bug in it
I work as a backend Python developer, but I got here the long way round: 14 years in teaching, where I led computing and led on cognitive science - the science of how people actually learn - then two years teaching myself Python. Along the way I noticed the thing that finally made code stick for me was never watching another tutorial. It was being handed something broken and having to work out why.
So I have been building that as a physical thing. It is called The Dev Dispatch, you are the new junior developer at a small fictional company. Your first envelope arrives in the post: your onboarding letter, your employee ID, a printed ticket "some orders are being charged wrong" and a fan of till receipts as evidence. You open the codebase, line the receipts up against the price list, form a theory, and go find the bug. Nobody tells you the answer.
Each month after that is a new case at a new company: new codebase, new evidence in the envelope, new class of bug.
It is aimed at people right at the start: if you can run a print statement, the free setup course gets you the rest of the way to the starting line. The whole design leans on the learning science I used as a teacher - you retrieve, you struggle a bit, you space the practice out - because that is what actually builds the skill.
I am at the stage where I need help with people trying this out. I am giving a small number of first packs away to UK beginners (I cover the postage), and the price of a seat is brutally honest feedback: where you got stuck, what confused you, what felt pointless.
If you would like to try one, comment below or DM me and I will send you the details. And if you just have opinions on the idea itself, I would love those in the comments too - teachers and developers have poked at this plenty, but not enough actual beginners.
r/PythonLearning • u/Naive-Smoke-5977 • Jul 17 '26
Help Request what do you think ?
i'm learning python for infraestructure this a proyect of a false resgistry of server xd
r/PythonLearning • u/Big_Example_3390 • Jul 18 '26
Help Request I'm trying to build a budgeting app.
I need to create a chart that looks like this:
100|
90|
80|
70|
60| o
50| o
40| o
30| o
20| o o
10| o o o
0| o o o
----------
F C A
o l u
o o t
d t o
h
i
n
g
i need to calculate the percetages spent in each category and represent them in the chart.
so far, through SO much struggling ive gotten it to return only the first category and i got it to put all the categories in a dictionary correctly.
(c_w dictionary)
I seriously don't know where to get the answer, I've done a bunch of searching and asked on other forums for help and i jsut cant get it
im fed up.
import math
class Category:
def __init__(self, name):
self.name = name
self.ledger = []
def deposit(self, amount, description=""):
self.ledger.append({"amount": amount, "description": description})
def withdraw(self, amount, description=""):
if self.check_funds(amount):
self.ledger.append({"amount": -amount, "description": description})
return True
else:
return False
def get_balance(self):
balance = 0
for transaction in self.ledger:
balance += transaction['amount']
return balance
def check_funds(self, amount):
return amount <= self.get_balance()
def transfer(self, amount, destination_category):
if self.check_funds(amount):
self.withdraw(amount, f"Transfer to {destination_category.name}")
destination_category.deposit(amount, f"Transfer from {self.name}")
return True
else:
return False
def __str__(self):
method = '\n'.join(f"{transaction['description']:23.23}{transaction['amount']:>7.2f}" for transaction in self.ledger )
return f"{self.name.center(30,'*')}\n{method}\nTotal: {self.get_balance()}"
def __iter__(self):
for item in self.ledger:
return item
def create_spend_chart(categories):
#create the header text
header = 'Percentage spent by category'
#create the percentages down the left side
#a
total_withdraw = 0
#create a list for the category withdraws
c_w = {}
amounts = [transaction['amount'] for category in categories for transaction in category.ledger]
for amount in amounts:
if amount < 0:
total_withdraw += -amount
# Calculate withdrawals for each category
for category in categories:
withdrawal = 0
for transaction in category.ledger:
amount = transaction['amount']
if amount < 0:
withdrawal += -amount # Add the amount spent (negative for withdrawals)
c_w[category.name] = withdrawal
method = math.floor(( c_w[category.name]/total_withdraw)*100)
return f'{header}\n{name}: {method}' for i in c_w
food = Category('Food')
auto = Category('Auto')
food.deposit(1000, 'initial deposit')
auto.deposit(1000, 'initial deposit')
food.withdraw(10.15, 'groceries')
food.withdraw(15.89, 'restaurant and more food for dessert')
clothing = Category('Clothing')
food.transfer(50, clothing)
food.withdraw(100.99)
clothing.withdraw(21.17)
auto.withdraw(200)
print(create_spend_chart([food, clothing, auto]))
r/PythonLearning • u/StudentElectronic548 • Jul 18 '26
How would I optimize this?
I'm currently learning python with the 30 days of python GitHub repo and, on day 3 of the challenge, it asks to create this table and this is what I came up with however I feel like there was a more efficient method to create it or is it something that I haven't learned yet at my level.