Python wrapper for loading Jason Hood's ANSICON
Project description
Overview
ansicon is a Python wrapper for loading Jason Hood’s ANSICON
Installation
$ pip install ansicon
Usage
import ansicon
# Load ansicon
ansicon.load()
# Have fun with terminal codes
print(u'\x1b[32mGreen\x1b[m')
# Unload ansicon
ansicon.unload()
# Check if ansicon is loaded
if not ansicon.loaded():
ansicon.load()
if ansicon.loaded():
ansicon.unload()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ansicon-1.89.0.tar.gz
(67.3 kB
view hashes)
Built Distribution
Close
Hashes for ansicon-1.89.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1def52d17f65c2c9682cf8370c03f541f410c1752d6a14029f97318e4b9dfec |
|
MD5 | ba38e4573bf7b60a0b52a419b784598d |
|
BLAKE2b-256 | 75f9f1c10e223c7b56a38109a3f2eb4e7fe9a757ea3ed3a166754fb30f65e466 |