title: How to multiprocess multiple excel sheets using pandas read_excel?
body: <p>I'm in need of a helping hand.</p>
  <p>I've the problem that i can't access the <em>RETURN</em> of my function calls while using the multiprocessing modul in python-3.x. <br />
  If using the threading modul would be better idea i would accept this as well. <br /></p>
  <pre><code>import multiprocessing
  from pandas import read_excel
  
  path1 = r&quot;C:\ABSOLUTE_PATH_TO\excelfile.xls&quot;
  sheets = [&quot;sheet_1&quot;, &quot;sheet_2&quot;, &quot;sheet_3&quot;]
  procs = []
  
  def read_xls(path, sheet):
      df = read_excel(path, sheet_name=sheet, header=0, decimal=',', delim_whitespace=True)
      return df
  
  
  for index, sheet in enumerate(sheets) :
      proc = multiprocessing.Process(target=read_xls, args=(path1, sheet))
      procs.append(proc)
      proc.start()
  
  for proc in procs:
      proc.join()
  </code></pre>
  <p>Further, i wanna use that code as a class and don't wanna run it as main file:</p>
  <pre><code>if __init__ == '__main__':
      class()
  </code></pre>
  <p>How can i get a list or dict of my dataframes returned? <br />
  Can i run it as multiprocess class later in an other main programm? <br />
  For example: I wanna run this class later in the background of a Kivy GUI while pressing a load button.<br /></p>
  <p>Thanks in advance.</p>
  <p>P.S.: I adepted my code to this <a href="https://www.blog.pythonlibrary.org/2016/08/02/python-201-a-multiprocessing-tutorial/" rel="nofollow noreferrer">source</a></p>
  <p><strong>EDIT</strong>:
  The reason i wanna access the sheets with 3 parallel processes or threads is to accelerate the loading time.</p>