Similar to #124 , my logic relies on executor.map() instead of executor.submit. How can I apply the Alive Progress Bar in my logic?
with Manager() as manager:
file_list = manager.dict()
with alive_bar(total) as bar, ProcessPoolExecutor() as executor:
executor.map(time_consuming_function, [(jpg, file_list) for jpg in imgs])
Similar to #124 , my logic relies on
executor.map()
instead ofexecutor.submit
. How can I apply the Alive Progress Bar in my logic?Thanks.