title: How to change font size of all .docx document with python-docx
body: <p>So, Im trying to solve problem with Python Docx. I need to refactor my .docx document, I need to change Font Name and Font Size of all document. What solutions can you suggest?</p>
  
  <p>With this code Font Name are changing, but Font Size are not.</p>
  
  <pre class="lang-py prettyprint-override"><code>from docx import Document
  from docx.shared import Pt
  document = Document('path/to/file.docx')
  
  
  style = document.styles['Normal']
  font = style.font
  font.name = 'Arial'
  font.size = Pt(10)
  for paragraph in document.paragraphs:
      paragraph.style = document.styles['Normal']
  document.save('refactored.docx')
  </code></pre>