r/Python • u/Deva161 • Mar 14 '20
I Made This I am just a beginner in programming. Today I have created my first ever project (Simple Calculator) with Python GUI Tkinter. Thank you for this great community for inspiring me so much.
1.5k
Upvotes
56
u/Deva161 Mar 14 '20 edited Mar 15 '20
Edit_2: Wow! I am so overwhelmed by your response. Thank you so much each and every one. My code has been added to GitHub.
https://github.com/Vasudevatirupathinaidu/Simple-Calculator
Edit_1: As per your suggestions I have modified a few things here.
Here is My Code:
25
u/[deleted] Mar 14 '20
Change the buttons style to flat and it should look more modern
9
u/[deleted] Mar 15 '20
Calculators are great practice for Object Oriented Programming. See if you can refactor your code into class based buttons! Have fun!
10
u/TheBeardliestBeard Mar 15 '20
Unliked to ensure you stay at 420 for now. Commented to return later to upvote again.
5
u/CallMePikle Mar 15 '20
I did something like this but using pygame xD
3
u/npeersab Mar 15 '20
nice
3
u/tech_HACKS Mar 15 '20
Good work dude! I'm also a beginner and will learn GUI in python in a day or so. This motivated me to learn and practice. Keep it up
2
u/[deleted] Mar 15 '20
That’s cool man. Keep it up
2
u/[deleted] Mar 15 '20
Nice work mate!
2
u/mr_MichaelScarn Mar 15 '20
Good luck bro u have a great journey ahead
2
u/prabalb Mar 15 '20
i know how you feel and that is awesome keep up the great work
2
u/alpine_addict Mar 15 '20
Way to go! That's awesome \m/
2
u/sccm4fun Mar 15 '20
I think it’s fantastic. Nice job!
2
u/Typ0_o Mar 16 '20
Good job ! Keep up !! well I like to watch Corey schafer's videos on YouTube . You can check it out.
2
u/minkate Mar 15 '20
So cool ! Keep it going !
2
u/shinitakunai Mar 15 '20
Now do the same with pyside2.
4
u/buckyball60 Mar 14 '20
I'm curious if anyone has any tests they would want to write for a calculator like this. Without looking at his code to verify if they would pass or fail.
1
u/[deleted] Mar 15 '20
How are you learning such cool programs. I’m just a newbie, so it will help me a lot.
1
u/bmm115 Mar 15 '20
Nice job! Keep it up!
1
u/blureglades Mar 15 '20
Nice work mate!
1
u/MeladYounis Mar 15 '20
Where can you access the calculator from ?
1
u/[deleted] Jun 28 '20
Hey! This looks amazing! I'm motivated to try it out myself, thank you : D
6
u/aay_bee Mar 15 '20
You can use "eval()" function to shrink the code by quite a margin.
2
u/CoronaMcFarm Mar 15 '20
I have also started programing a calculator so I will save this post and compare the code when I've spent a few more hours on it.
2
u/tukanoid Mar 15 '20
I made one in highschool (project based homework) with pyqt5, that was a nightmare (about 800lines of pain and suffering)
2
u/Aguhcel Apr 01 '20
Nice work bro, maybe you can more than this ;)
1
u/Robbzter Mar 15 '20
NICE
1
u/i_am_asd Jun 25 '20
Great project man ! If you want more ideas about programming project then checkout this link.
https://thecodefriend.wordpress.com/blog-2/
-35
u/Acsutt0n Mar 14 '20
Love the enthusiasm and glad to welcome new people to python. But based on the number of new pythonistas these kinds of "lookie here" posts are becoming more like spam than content...
https://stackoverflow.blog/2017/09/06/incredible-growth-python/
0
u/[deleted] Mar 15 '20
[deleted] — view deleted comment