Skip to content

Instantly share code, notes, and snippets.

@chfw
Created January 28, 2016 16:19
Show Gist options
  • Save chfw/f0ca815e2950a58629c3 to your computer and use it in GitHub Desktop.
Save chfw/f0ca815e2950a58629c3 to your computer and use it in GitHub Desktop.
default_bar_format = '{desc}{percentage:3.0f}%|{bar}| {n_fmt}/{total_fmt} [{elapsed}<{remaining}, {rate_fmt}]'
red_bar_format = '{desc}{percentage:3.0f}%|\033[91m{bar}\033[00m| {n_fmt}/{total_fmt} [{elapsed}<{remaining}, {rate_fmt}]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment