PyMath
Commands:
pymath
-
- add: usage:
pymath add 12.5 12.5
- add: usage:
-
- sub: usage:
pymath sub 25 12.5
- sub: usage:
-
- div: usage:
pymath div 144 12
- div: usage:
-
- mult: usage:
pymath mult 12 12
- mult: usage:
-
- sqr: usage:
pymath sqr 49
- sqr: usage:
-
- gui: usage:
pymath gui
- gui: usage:
Syntax:
The pymath command can multipy/divide/subract/add with only mult*
or div*
or sub*
or add*
replacing *
with anything, for example: pymath divydodad 144 12
and the output will be 12
Installation
Only compatible with linux at the time of writing!
Run the command below:
cd ~/Downloads
git clone https://github.com/eggsnham07/pymath
cd pymath
chmod +x ./setup.sh
./setup.sh
Add export PATH=$PATH:~/.local/bin/pymath
to ~/.bashrc
to use pymath
command via cli