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!
<p>I have edited the code to fix the print issue but I keep on getting this error: Traceback (most recent call last):</p><p> File &quot;/Downloads/Revised Calculator/Gui.py&quot;, line 67, in &lt;module&gt;</p><p> import tkFont</p><p>ModuleNotFoundError: No module named 'tkFont'</p><p>Here are the edited files.</p><p><a href="http://www.filehosting.org/file/details/657180/Calculator11.py">http://www.filehosting.org/file/details/657180/Calculator11.py</a></p><p><a href="http://www.filehosting.org/file/details/657182/Gui.py">http://www.filehosting.org/file/details/657182/Gui.py</a></p>
<p>Please edit your code. All of your print commands are missing parenthesis.</p>
what did you make this for? school?
I did, it was a short project.

About This Instructable




Bio: From solder to zip ties, lead acid batteries and LEDs, and especially Legos, putting things together has always fascinated me. The more challenging the better ... More »
More by Hammock Boy:Chipper Board - ATtiny Programming Shield Boxhead recreated with Python with Tkinter Interface Python and Arduino with pySerial 
Add instructable to: