r/learnpython • u/Recursive_Void • Jun 16 '26
Calculator
https://github.com/samarthrajofficial-ai/Tkinter-Calculator/tree/main, this is my first Python program- A Calculator built using tkinter. What changes should I make in it and what should I do next?
3
Upvotes
1
u/SisyphusAndMyBoulder Jun 16 '26
First, thanks for sharing a repo. Looks good.
You're using functions, and looks like it's all planned out and organized, great!
I didn't run your code cause I'm on mobile, so I'm assuming it works.
General feedback:
your README is wrong. It says I only need Python. I also need tkinter. It should also specify a minimum Python version. You should look into how to use a requirements.txt file. I assume you're using global Python, so maybe look into venvs.
Great time to start looking into into tests. Not sure how difficult they are with tkinter though tbh