expanded on python progress bar to include other command line print functions