title: Check whether processpool completed processing python3
body: <p>How can i check whether process scheduled are completed in a process pool? i only have to execute rest of the code after finishing the process pool is there an way for this? </p>
  
  <pre><code> executornan = concurrent.futures.ProcessPoolExecutor(20)      
  
      for l, ch in enumerate(chunks):
                  print("CHUNK NUMBEr", l)
                  print("CHUNKS", ch)
                  futuresnan = [executornan.submit(locals()[configid + 5].ftptester, ch)]
  </code></pre>