prints stuff
Project description
extprint
-
prints with color
-
prints lists and their indexes line by line
Install
pip install extprint
Usage
from extprint import printlist,printcolored
list = [1,2,3,4,5,6,7,8,9,0]
printlist(list, seperator="----->", start_index=0, color="GREEN", bold=True)
printcolored("HELLO", color="BLUE", bold=True)
0 -----> 1
1 -----> 2
2 -----> 3
3 -----> 4
4 -----> 5
5 -----> 6
6 -----> 7
7 -----> 8
8 -----> 9
9 -----> 0
HELLO
Available colors-options
printcolored("", color="?")
-
BLACK
-
RED
-
GREEN
-
YELLOW
-
BLUE
-
VIOLET
-
BEIGE
-
WHITE
-
BOLD
-
ITALIC
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
extprint-0.0.5.tar.gz
(2.2 kB
view hashes)