AnsiPrint - Coloured text made easy.
ChezCoder

Installation

ENTER THIS IN THE CONSOLE:

USE IT LIKE THIS IN THE CODE:

CHECK IT OUT ON PYPI: AnsiPrint

Usage

Note: For people who don't like reading the docs, this package is just colorama and termcolor squished into two functions.

UsageParamsReturn Value
ansiprint()str: msg, str: color-name/ansi, str: endstr: msg
ansi()str: color-name/ansistr: ansi
clear()None: NoneNone: None

Examples


ansiprint()

Code:

Result:


ansi()

Code:

Result:


clear()

Code:

Result:


Ansi Chart

This was made for the community; use it in any project you want, no credit needed :)

@Warhawk947 visit count: 3
You are viewing a single comment. View All
nN34398Ff

\awefo\@nN34398Ff