Skip to content

Telman3000/Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

🧮 PyQt Calculator

A desktop calculator application built with Python and PyQt5.
Supports mouse and keyboard input, basic arithmetic operations, and several advanced mathematical functions.


📸 Screenshot

Calculator Screenshot


✨ Features

  • Mouse and keyboard input (always enabled)
  • Clean and intuitive calculator layout
  • Supports large numbers with horizontal scrolling
  • Input validation (no letters or invalid symbols)

🧠 Mathematical operations

  • Addition +
  • Subtraction -
  • Multiplication *
  • Division /
  • Power x^y
  • Square
  • Square root √x
  • Factorial !
    • Supports values like 3 and 3.0
    • Rejects negative and non-integer values

⌨️ Keyboard Support

The calculator fully supports keyboard input:

  • 0–9 — digits
  • + - * / . ^ — operators
  • Enter — calculate result
  • Backspace — delete last character
  • Esc — clear input

Invalid characters (letters, unsupported symbols) are automatically blocked.


🛠 Technologies Used

  • Python 3
  • PyQt5
  • Standard Python libraries (math)

🚀 How to Run

  1. Install dependencies:
    pip install pyqt5

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages