Skip to content

alishba-khalid/python-gui-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Python GUI Calculator

Project Overview

This is my first graphical calculator built using Python and the Tkinter library. It performs basic arithmetic operations (+, -, *, /) and features a user-friendly interface. This project demonstrates my foundational understanding of Python programming and my ability to create interactive desktop applications.

Features

Basic Arithmetic: Addition, Subtraction, Multiplication, Division. Graphical Interface: Intuitive buttons and display for easy interaction. Error Handling: Gracefully manages common issues like division by zero and invalid expressions. Clear Button: Resets the calculator display.

Technologies Used

Python 3.x Tkinter: Python's standard GUI (Graphical User Interface) library.

How to Run the Calculator

  1. Prerequisites: Ensure you have Python 3.x installed on your machine. Tkinter comes bundled with Python, so no additional installations are needed.
  2. Download: Clone this repository or download the gui_calculator.py file.
    git clone [https://github.com/alishba-khalid/python-gui-calculator.git](https://github.com/alishba-khalid/python-gui-calculator.git)
    cd python-gui-calculator
  3. Run: Execute the script from your terminal:
    python gui_calculator.py
  4. The calculator window will appear. Click the buttons to perform calculations!

💡 Learning Journey & Future Improvements

This project was a significant milestone in my learning journey, especially in understanding GUI development, event handling, and integrating core Python logic into a visual application.

Future Ideas: Potentially add more advanced functions (e.g., square root, percentage), keyboard input support, or a history log.

📧 Connect with Me

GitHub: alishba-khalid

Built with ❤️ by Alishba

About

My first Python GUI Calculator built with Tkinter.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages