/Py-Calculator

Py-Calculator is a GUI calculator application with all the basic functionalities of a calculator written completely in Python3 using the tkinter framework.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Py-Calculator

GUI Calculator made in python using tkinter

powered by powered by

Py-Calculator is a GUI calculator application with all the basic functionalities of a calculator written completely in Python3 using the tkinter framework.

It can run on any system running Python 3 or above and having tkinter library.

Snap of the program running in linux & windows environment:

Features

  • Light weight
  • Open Source
  • No hidden attributes
  • Cross platform support
  • Easy to understand source code

Requirements

For the program to run, it needs the following dependencies to be installed in python:

  • math
  • tkinter
  • tkinter.constants
  • Typing

If not present, then install the libraries using pip or any other way of your choice.

How to run

As mentioned above, python version 3 is required to run this program.

  • First navigate to the 'Py-Calculator' folder.
  • Then run he following command:
python3 calculator.py
  • & ignore if any warning shows up unless it conflicts with the program behaviour.

Note

The button padding in the code behaves differently on different OS, so please calibrate them according to the gui of the application by changing the ‘padx’ & ‘pady’ values after running on your system.

& if the app icon doesnot shows up then change the followng path to the location of the icon.png file in your drive.

photo = tk.PhotoImage(file = "<full path of the icon.png file in the res folder>")

License

This project is lisenced under GNU General Public License v3.0

Feel free to use this project as you want, its free & opensourced.