title: How do I get a python dictionary into a document merge as kwargs with docx-mailmerge
body: <p>So I've got this dictionary</p>
  
  <pre><code>mydict = {'name': 'Theo', 'age': '39', 'gender': 'male', 'eyecolor': 'brown'}
  </code></pre>
  
  <p>and I use docx-mailmerge to merge this data into a word document.</p>
  
  <pre><code>template = "myworddoc.docx"
  newdoc = "mergeddoc.docx"
  document = MailMerge(template)
  document.merge(mydict)
  document.write(newdoc)
  </code></pre>
  
  <p>But the document created is empty. I guess it only works with kwargs??</p>
  
  <p>Can I only use the merge with kwargs so</p>
  
  <pre><code>document.merge(name='Theo', age='39', gender='male', eyecolor='brown')
  </code></pre>
  
  <p>I really like to use a dictionary to merge the data.</p>
  
  <p>Do I transform the dict to kwarg (and how do I do this) or do I use the dict?</p>
  
  <p>Thank you for helping out!!</p>