π§βπ» This is an advance calculator project that i did for my final project of PROG1 π§βπ»
This project is a model of an advance calculator that was built along different examples that taught me how to do it. Every part of this project is a sample code which shows how to do the following:
- Calculate simple operations.
- Calculate advance operations like (sqrt, ^x, (),%).
- Clear the whole screen or number by number.
- Shows an history that contains all the operations and the results so the user can see what has done.
The technologies that i used for this project are:
- Tkinter module To do the GUI, Bottons, display, evrything.
- sqlite3 module to Acces the database and upload the operations and the result of the user and also to retrieve the data.
- parser module to get the math expresion and create an ST object.
Its a super interesting project because its not that easy as looks, i Had to create many functions to get the operations and also create too many buttons. The database was the funniest part, because i love manipulate data and retrieve it to insert them so user can see what has done.
these are the most important things that u need in your computer to run this project succesfully :
- Python 3.9.10.
- Sqlite (DB browser installed on the computer) Sqlite url to download: https://www.bing.com/ck/a?!&&p=630ef2cdfa8052ebJmltdHM9MTY2MTU1Mjg0MSZpZ3VpZD1lNjVhY2ZjZi0wMWZkLTQ5MGEtOTk3Mi1mY2VhYmFiYmJjYmUmaW5zaWQ9NTQyOA&ptn=3&hsh=3&fclid=400c1228-258e-11ed-9b49-134f07b8bf68&u=a1aHR0cHM6Ly9zcWxpdGUub3JnL2Rvd25sb2FkLmh0bWw&ntb=1
its not neccesary to manually install the tkinter module or the sqlite3 module, because python already has them installed by default. Once you have these two things downloaded in your computer you can go to the next step.
The easiest way to install this project is in the following way:
- Clone this repository.
- enjoy the project. You were expecting more? hahahahaha, nope, just cloning this repository is enough.
To know how to use my calculator, i'll drop a video made by me that explain you the most important things to use it, hope u understand the video and enjoy how to use my calculator
2022-08-26.19-36-08.mp4
Link video: https://youtu.be/GUin0z0_N38
Here are my different social medias where you can reach me:
- IG: erwincossb
- Github: EcossB
- Twitter: ErwingCossb
- Linkedin: https://www.linkedin.com/in/erwing-armando-coss-batista-602366234/
Also if you want to know where i take the example of this project, here is the YT link video: https://www.youtube.com/watch?v=0KmcgQoaiwA
