Code Read Through: TQDM
We begin with this:
# an explicit index of the packages for 'import *'
__all__ = ['tqdm', 'trange']
Here's a list of sub-functions:
- format_interval()
- format_meter()
- StatusPrinter.print_status()
- tqdm()
Notes:
- The default file is sys.stderr, this is overwritable
- The StatusPrinter manually flushes
- Actual loading bar creation occurs in format_meter
- There's a limiting feature to prevent unnecessary redraws