Is your CLI output looking dull?
Time to Colorama-fy it! 🎉
💡 Why Use Colorama?
- ✅ Easy cross-platform terminal color support
- 🧠 Great for debugging, logging, and catching the eye
- 🔧 Simple syntax for styling output
🚀 How to Use
from colorama import init, Fore, Style
init()
print(Fore.RED + Style.BRIGHT + "🔥 Error Detected!")
print(Fore.GREEN + "✅ Success!")
print(Fore.YELLOW + Style.DIM + "⚠️ Warning: Proceed with Caution")
🎯 Key Features:
Fore.RED, Fore.GREEN, Fore.YELLOW, etc.
Style.BRIGHT, Style.DIM, Style.NORMAL
Back.COLORNAME for background colors
⚡ Tip: Use init(autoreset=True) to avoid manually resetting styles!
💬 Whether you're making a CLI app, logger, or just want prettier outputs,
Colorama adds life to your terminal! 🎨🖥️
Top comments (0)