Skip to content

A simple dark-themed calculator built with Python and Tkinter. Portable Windows executable included in releases.

License

Notifications You must be signed in to change notification settings

Megahertz418/Mega-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧮 Mega-Calculator

A simple GUI-based calculator built with Python and Tkinter.
Packaged into a portable executable (.exe) using PyInstaller, so it runs on Windows without requiring Python or Tkinter installed.


✨ Features

  • Clean and minimal dark UI
  • Supports basic operations: + - × ÷ .
  • Clear button (C) and backspace ()
  • Error handling for invalid expressions
  • Portable one-file executable (no installation required)

📂 Project Structure


Mega-Calculator/
│   calculator.py      # main source code
│   README.md
│   LICENSE
│   CREDITS.md
│   .gitignore
│
└── assets/            # icons and resources
Calculator.ico
Calculator.png

⚠️ The dist/ folder and .exe file are not included in the repo.
You can always download the ready-to-use executable from the Releases.


🚀 Run Locally (from source)

  1. Install Python (3.9+ recommended)
  2. Clone this repository:
    git clone https://github.com/YourUser/Mega-Calculator.git
    cd Mega-Calculator

3. Run the app:

   ```bash
   python calculator.py

💾 Download

The portable Windows executable is available in the Releases section: 👉 Download Mega-Calculator.exe


🔨 Build Instructions (PyInstaller)

If you want to build your own .exe:

pip install pyinstaller
pyinstaller --onefile --windowed --name Mega-Calculator ^
  --icon "assets\Calculator.ico" ^
  --add-data "assets\Calculator.ico;assets" ^
  --add-data "assets\Calculator.png;assets" ^
  calculator.py

The executable will be generated inside the dist/ folder.


📜 License

This project is licensed under the MIT License. Feel free to use, modify, and distribute.

About

A simple dark-themed calculator built with Python and Tkinter. Portable Windows executable included in releases.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages