Calculator Application

GitHub Stars GitHub Issues Current Version

Simple calculator with random number button and dark gray theme created with :

  • PyQt6
  • Python 3.9.7

you can download the dark gray style from this source
(you don’t need it to run the script)

on Windows 10

in windows

on Linux Ubuntu 20.04

in linux

Table of contents


1. Setup

1.1. install python 3.x

from pthon.org website

1.2. install PyQt6

pip3 install PyQt6

if you want to use PyQt5 :

  1. pip3 install PyQt5

  2. replace this lines :

    from PyQt6.QtCore import ...
    from PyQt6.QtGui import ...
    from PyQt6.QtWidgets import ...
    from PyQt6.uic.load_ui import loadUi

    with

    from PyQt5.QtCore import ...
    from PyQt5.QtGui import ...
    from PyQt5.QtWidgets import ...
    from PyQt5.uic import loadUi

2. Launch

in your terminal/cmd :

python path/main.py

3. License

You can check out the full license here

  • This programme is under GPLv3 license
  • QDarkGrayStyle is under MIT license

GitHub

View Github