Calculator Coded With Python

by Hammock Boy in Workshop > Science

9115 Views, 8 Favorites, 0 Comments

Calculator Coded With Python

Screen Shot 2012-10-10 at 10.25.47 PM.png
After learning a bit about the programming language Python, I though that it would be neat to try and replicate some of the math that they Python shell does with a GUI. While I clearly did not match the shell's performance my calculator adds a few helpful shortcuts such as the numbers "pi" and "e" as well as the trig functions sin() cos() and tan().

You will need to keep everything both files in the zip file in the same folder for this to work. The code has a number of comments, but if you have any questions as to how anything works please let me know and I will be happy to show you!