July 25, 2023, 1:47 p.m. | JerryWu

DEV Community dev.to


  1. colorama


Colorama is a Python library used to add colors to terminal text. It simplifies the use of ANSI color codes to colorize console output and works seamlessly on Windows, macOS, and Linux.


To install colorama, you can use pip:



pip install colorama


A simple use of colorama is as follows:



from colorama import Fore, Back, Style

print(Fore.RED + 'This is red text')
print(Back.GREEN + 'This is text with a green background')
print(Style.RESET_ALL)



  1. pygame


Pygame is a set of Python …

cli color colors guide install library linux macos pip python simple terminal text windows

AI Research Scientist

@ Vara | Berlin, Germany and Remote

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne

Senior Data Engineer (m/f/d)

@ Project A Ventures | Berlin, Germany

Principle Research Scientist

@ Analog Devices | US, MA, Boston