a four-function calculator with a terminal UI
- Install termpixels using
pip install termpixels
- Run
python calc.py
from a terminal (preferably a good one, likexterm
ormlterm
) - Click on the buttons with your mouse*
*You can type things on the keyboard but that's really not the point
- For best results you should use a terminal that supports mouse input and at least 256 colors. Most terminals do, and if you have trouble, try running
TERM="xterm-256color" python calc.py
instead.