title: How to insert multiple arguments in multiprocessing
body: <p>I have this project I'm working on and I'm trying to implement multiprocessing. I can't quite get it to work because the function I'm trying to have it run requires multiple arguments. Basically, there are sites that <code>processDFStandardCurve</code> processes and that is the only variable that changes in each test that multiprocess would be running. Those different site names are stored as <code>siteIDList</code>.</p>
  <pre><code>def multiprocess (cursor, testsDict, optionsDict, outputPath, calculated_pdf, stationToPriority, result):
      siteIDList = []
      for line in result:
          siteID = line[3]
          nbsNum = line[2]
          if siteID != &quot;&quot;:
              siteIDList.append(siteID)
          else:
              siteIDList.append(nbsNum)
      p = multiprocessing.Pool()
      p.starmap(processDFStandardCurve, siteIDList,  cursor, testsDict, optionsDict, outputPath, calculated_pdf, stationToPriority)
  </code></pre>
  <p><code>processDFStandardCurve</code> is as follows:</p>
  <pre><code>def processDFStandardCurve(cursor, siteID, testsDict, optionsDict, outputPath, calculated_pdf, stationToPriority):
  </code></pre>
  <p>It all stops after the <code>p.map()</code> call.</p>
  <p>When using <code>starmap</code> it throws this error</p>
  <pre><code>TypeError: starmap() takes from 3 to 4 positional arguments but 9 were given
  </code></pre>