Home
Welcome to the mprint,
mprint is a Python module who allows easly coloring and formatting for your CLI based text.
Any Unix or DOS based console who support color output via ANSI Escape Sequencies and Python 2.7 or above.
Since Windows-based systems does not have support for ANSI Escape Sequencies, mprint has the 'colorama' package as dependecy for Windows-based terminals, on Unix Systems, there's no dependecy.
mprint acts like any other Python package, just clone and:
python ./setup.py install
You can also install the master/stable version using pip/easy_install
pip install mprint
The main output functions are in the mprint module, so, for you to use, just import it like:
from mprint import mprint
Then you can use the functions like mprint.mclear()
or mprint.mprintln("Hello World!")
.
from mprint.mprint import *
Then you can use the functions like mclear()
or mprintln("Hello World!")
.
You can start by checking our [Markup Language] (https://github.com/h0m3/python-mprint/wiki/Markup-Language) or see what Functions are avaliable for you.
If you still don't know how to use it, check our [Examples] (https://github.com/h0m3/python-mprint/wiki/Markup-Examples), they are very simple and direct.
mprint also has an input module, called minput
, [check it out] (https://github.com/h0m3/python-mprint/wiki/Getting-information-with-minput).