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
NoelB33

I found it in the package explorer

ChezCoder

@NoelBryan OMG XD

ChezCoder

@NoelBryan thanking the repl gods...

NoelB33
Warhawk947

@NoelBryan @ChezCoder hate to burst your bubble, but the repl package search acts as a search function of pypi itself, so any package you put on pypi will be put on the repl package search.

ChezCoder

@Warhawk947 D:
also e

NoelB33

I already knew that @Warhawk947

ChezCoder

@NoelBryan i felt so happy for like half an hour XD

NoelB33
Warhawk947