Skip to content

Domingo-Galaz/Basic-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

🧮 Basic Calculator - Python Project

Python CustomTkinter

Welcome to my Windows-Style Calculator project!
This repository was created as a way to transform my Python knowledge into a real functional application with a modern interface.


🎯 Project Objective

This project represents an important step in my development journey.
The main goal was to move beyond simple console exercises and build a complete graphical application, working with real programming challenges such as:

  • UI / UX Design → Creating an intuitive and visually appealing interface.
  • Programming Logic → Managing mathematical operations and application states.
  • Interactivity → Supporting physical keyboard input and real-time events.

✨ Main Features

  • 🎨 Warm Design
    Custom interface with a warm orange and coffee color palette for a comfortable visual experience.

  • 📈 On-Screen History
    A top indicator displays the current operation, allowing users to visually follow calculations.

  • ⌨️ Keyboard Support
    Use your keyboard numbers and operators

    • Enter → Show result
    • Esc → Clear screen
  • 🛡️ Robust Interface
    The window maintains its original size regardless of the length of the result.
    The font automatically adjusts to keep the interface stable.

  • 🚀 Special Functions

    • Percentage calculation %
    • Power calculation
    • Square root √x
    • Sign inversion +/-
    • Reciprocal 1/x

🛠️ Technologies Used

This project was built using the following Python libraries:

  • customtkinter → Modern graphical interface with rounded components and dark theme support.
  • math → Accurate mathematical operations such as square roots and powers.
  • re → Regular expressions for validating mathematical expressions.

🚀 Installation & Execution

Follow these steps to run the calculator on your computer.

1️⃣ Clone the repository

git clone https://github.com/your-username/your-repo-name.git
cd your-repo-name

2️⃣ Install dependencies

Make sure Python is installed, then run:

pip install customtkinter

3️⃣ Run the application

python calculadora.py

📸 Preview

Calculator Preview


🖋️ Author

Domingo Galaz Ramirez

This project was fully designed and programmed by me as part of my learning journey in Python and GUI development.

About

A modern Windows-style calculator built with Python and CustomTkinter featuring keyboard support and advanced math functions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages