Tools.basics

This file contains basic functions and classes that are used throughout each module file.

Module Contents

Classes

bcolors

Functions

notImplemented([isOkay])

Print a message saying that the function is not implemented yet or raise an error.

colorfulPrint(text, color, **kwargs)

Print text with color.

class Tools.basics.bcolors
HEADER = '\x1b[95m'
OKBLUE = '\x1b[94m'
OKGREEN = '\x1b[92m'
WARNING = '\x1b[93m'
FAIL = '\x1b[91m'
ENDC = '\x1b[0m'
BOLD = '\x1b[1m'
UNDERLINE = '\x1b[4m'
Tools.basics.notImplemented(isOkay=False)

Print a message saying that the function is not implemented yet or raise an error. :param isOkay: If True, the function will not raise an error :return: None

Tools.basics.colorfulPrint(text, color, **kwargs)

Print text with color. :param text: The text to print :param color: The color to print with :param kwargs: Any other arguments to pass to print :return: None