Skip to content

Instantly share code, notes, and snippets.

View mileticveljko's full-sized avatar
🌱
I may be slow to respond.

mileticveljko

🌱
I may be slow to respond.
View GitHub Profile
@mileticveljko
mileticveljko / colours-old.py
Created January 21, 2024 19:31 — forked from sheljohn/colours-old.py
Print with colors in most shells (Python, standalone)
# Python 2, class
# Author: J.Hadida (jhadida87 at ggooglemail)
class ColorPrinter:
"""
Usage:
cprint = ColorPrinter()
cprint.cfg('c','m','bux').out('Hello','World!')
cprint.rst().out('Bye now...')