A lightweight python library in order to print in different colors and save them into a file optionally.
pip install python-colored-print
from colored_print import log
log.success("Hello", 123, "Bye").store()
log.info("Hello", 123, "Bye")
log.warn("Hello", 123, "Bye")
log.err("Hello", 123, "Bye").store(path="log.txt")
log.pink("Hello", 123, "Bye")
log("Hello", 123, "Bye") # default color is white
log.store("Hello", 123, "Bye") # only store without printing