-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnotes.py
More file actions
44 lines (40 loc) · 910 Bytes
/
notes.py
File metadata and controls
44 lines (40 loc) · 910 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# notes colour script
reset = "\x1B[0m"
default = "\x1B[39m"
black = "\x1B[30m"
red = "\x1B[31m"
green = "\x1B[32m"
yellow = "\x1B[33m"
blue = "\x1B[34m"
magenta = "\x1B[35m"
cyan = "\x1B[36m"
lightgray = "\x1B[38m"
darkgray = "\x1B[90m"
lightred = "\x1B[91m"
lightgreen = "\x1B[92m"
lightyellow = "\x1B[93m"
lightblue = "\x1B[94m"
lightmagenta = "\x1B[95m"
lightcyan = "\x1B[96m"
white = "\x1B[97m"
shape = [
u" ▄▄▄ ",
u" █▀▀█ ",
u" █ ",
u" █ ",
u" ▄███ ",
u" ▀██▀ "
]
coloursets = [
[yellow, red, green, blue, magenta, cyan],
[lightyellow, lightred, lightgreen, lightblue, lightmagenta, lightcyan]
]
for colours in coloursets:
print
for line in shape:
for colour in colours:
print colour + line,
print
print reset