

Linux or Macs can now also work on Windows, simply by callingĬolorama.just_fix_windows_console() (since v0.4.6) or colorama.init() This has the upshot of providing a simple cross-platform API for printingĬolored terminal text from Python, and has the happy side-effect that existingĪpplications or libraries which use ANSI sequences to produce colored output on Would appear as gobbledygook in the output), and converting them into theĪppropriate win32 calls to modify the state of the terminal. Windows, too, by wrapping stdout, stripping ANSI sequences it finds (which Text and cursor positioning on Unix and Macs. pip install coloramaĬonda install -c anaconda colorama DescriptionĪNSI escape character sequences have long been used to produce colored terminal No requirements other than the standard library.
.png)

If you find Colorama useful, please to the authors. Makes ANSI escape character sequences (for producing colored terminal text andĬursor positioning) work under MS Windows.
