How to create a progress bar in command line for pool processes?
问题 I have several scripts which I run using Multiprocessing pool I am trying to do a progress bar based on the scripts completed. I checked https://stackoverflow.com/questions/3173320/text-progress-bar-in-the-console#= but I cannot figure out how I can combine the scripts completed in the counter import os from multiprocessing import Pool def run_process(process): os.system('python {}'.format(process)) processes = ('script1.py', 'script2.py','script3.py','script4.py') if __name__ == "__main__":