def qprint_time(str=None): # Only print the time if "quiet" is not True in global_vars. Handy. if g.quiet != True: if str is None: print g.sprint_time(), else: print g.sprint_time(), str
def print_time(str=None): if str is None: print g.sprint_time(), else: print g.sprint_time(), str