Display a progress bar for your command line functions in python