To install:
pip install git+https://github.com/nils865/nilsLib.py/
-
clampDecimalPlace(Decimalplace,Number)- Clamps a float to a number of decimal places -
setTTYFgCol(r,g,b)- sets the foreground to the rgb values provided -
setTTYBgCol(r,g,b)- sets the background to the rgb values provided -
resetColor()- resets the color to the default -
clear()- clears the console -
moveCursor(lines)- moves the cursor in the terminal, so you can print on different lines