Terminal progress bar for Python programs