changeset 5 | 055f7dfb3e4f |
4:fdaa7dc9035e | 5:055f7dfb3e4f |
---|---|
1 #!/usr/bin/env python3 |
|
2 |
|
3 from pycolib.ansicolor import highlight, names |
|
4 |
|
5 |
|
6 def print_colors(): |
|
7 for c in range(0,8): |
|
8 print( |
|
9 highlight(1,c), names[c].ljust(20), |
|
10 highlight(1,8+c), names[c].ljust(20), |
|
11 highlight(0), sep='') |
|
12 |
|
13 if __name__ == '__main__': |
|
14 print_colors() |