r/learnpython • u/mexicanlefty • Jul 09 '20
I made a calculator in Python!
Hello everyone!
I just wanted to share this project i made, its not my first programming project or python project whatsoever, but it is indeed the first one i didnt depended much on google or a video tutorial so that for me its a great advance.
The project is also my first on a github repository!
https://github.com/mexicanlefty/Python-Calculator
Please take a look and test it, in case you can provide any feedback it would be even better, it doesnt matter if you guys want to be very critical, i dont mind i want to keep practicing and i already have my next project in mind.
392
Upvotes
3
u/toobrokeforboba Jul 09 '20
You might want to avoid wildcard import like
from tkinter import *and only import the specific functions or variables you need as you code along. If that is too cumbersome, just import the whole module or you can doimport tkinter as tk. The reason is if someone like me reading your code, I can’t tell immediate if you’re calling a tkinter function or your function.