From 8d5537848293196c96dfa5d4b11b658398c2eb14 Mon Sep 17 00:00:00 2001 From: Eduardo Pedroni Date: Thu, 23 Feb 2017 11:28:27 +0100 Subject: Added comment about colour and bolding, need to implement at some point --- flashcards | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'flashcards') diff --git a/flashcards b/flashcards index 30b24ba..7ba5fa6 100755 --- a/flashcards +++ b/flashcards @@ -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) -- cgit v1.2.3