Skip to content

Python colored print plus storing it into a file.

License

Notifications You must be signed in to change notification settings

agn-7/colored-print

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Colored Print

PyPI Python Versions GitHub license

A lightweight python library in order to print in different colors and save them into a file optionally.

Setup

pip install python-colored-print

Usage

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

Output

Output

About

Python colored print plus storing it into a file.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages