Skip to content

Instantly share code, notes, and snippets.

View Devligue's full-sized avatar

Krzysztof Dziadowiec Devligue

View GitHub Profile
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
def print_progress(iteration, total, prefix='', suffix='',
decimals=1, bar_length=100):
"""Call in a loop to create terminal progress bar.
Required keyword arguments: