Skip to content

Instantly share code, notes, and snippets.

View lilgallon's full-sized avatar
🏄‍♂️
waiting for the wave

Lilian Gallon lilgallon

🏄‍♂️
waiting for the wave
View GitHub Profile
@lilgallon
lilgallon / print_progress.py
Last active August 7, 2019 19:27 — forked from aubricus/License
Python Progress Bar
import sys
# Print iterations progress
def print_progress(iteration, total,
prefix='', suffix='', decimals=1, bar_length=100):
"""
Call in a loop to create terminal progress bar
@params: