This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def progress_bar(current, goal): | |
""" **Creates a progress bar** \n | |
current = the progress done \n | |
goal = the total needed \n""" | |
""" current is the numerator | |
goal is the denominator """ | |
# configuration | |
conf = { # conf[key] | |
# these will make up the progress bar as strings | |
# 'c' is for anything completed (aka the green bits) |