diff options
author | Eduardo Pedroni <e.pedroni91@gmail.com> | 2017-02-23 11:28:27 +0100 |
---|---|---|
committer | Eduardo Pedroni <e.pedroni91@gmail.com> | 2017-02-23 11:28:27 +0100 |
commit | 8d5537848293196c96dfa5d4b11b658398c2eb14 (patch) | |
tree | 95489141165d777a4053856b7cb057551c42da23 | |
parent | 3078d9303c934db910dcdb8107d83a5e756d02d9 (diff) |
Added comment about colour and bolding, need to implement at some point
-rwxr-xr-x | flashcards | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -5,6 +5,22 @@ import sys from pathlib import Path from random import shuffle +''' +class color: + PURPLE = '\033[95m' + CYAN = '\033[96m' + DARKCYAN = '\033[36m' + BLUE = '\033[94m' + GREEN = '\033[92m' + YELLOW = '\033[93m' + RED = '\033[91m' + BOLD = '\033[1m' + UNDERLINE = '\033[4m' + END = '\033[0m' + +print color.BOLD + 'Hello World !' + color.END +''' + cardRegex = "CARD: " prefixLength = len(cardRegex) |