Skip to content

Yona2803/Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calculator 🍉

Calculator This is a simple calculator application built using Python's tkinter library and customtkinter for enhanced UI. The calculator supports basic arithmetic operations, percentage calculations, and theme toggling between light and dark modes.


✨ Features

  • Basic Arithmetic: Addition, subtraction, multiplication, and division.
  • Percentage Calculation: Easily calculate percentages.
  • Theme Toggle: Switch between light and dark themes.
  • Keyboard Support: Use your keyboard for input, including numeric keys, operators, and special keys like Enter and Backspace.

📁 Project Structure

Calculator
├── assets # Media used in the application
├── PresetConfig.py # UI styling and theme management
├── main.py # Main application entry point
└── README.md # Project documentation


🧰 Requirements

  • Python 3.9 or higher
  • Required Python libraries:
    • customtkinter
    • Pillow

⚙️ Setup

  1. Clone the repository

    git clone https://github.com/Yona2803/Calculator.git
    cd Calculator
  2. Install the required dependencies

    pip install -r requirements.txt
  3. Run the application

    python main.py

🚀 Usage

  • Launch the application.
  • Type using keyboard number or by click on the buttons.
  • Toggle between light and dark themes using the theme switcher.

🖼️ Screenshots

Dark Mode

Calculator-Dark

Light Mode

Calculator-Light


🤝 Contributing

Contributions are welcome!
Here’s how to get started:

  1. Fork the repository
  2. Create a new branch: git checkout -b feature/your-feature-name
  3. Commit your changes: git commit -m "Add your message"
  4. Push to your branch: git push origin feature/your-feature-name
  5. Open a pull request

📄 License

This project is licensed under the MIT License.


🙌 Acknowledgments


From the river to the sea, Palestine will be free✌️ #FreePalestine 🍉🇵🇸

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages