title: How can I set row height in a table to be fixed in python-docx?
body: <p>I'm trying to use this example from the documentation to set the row height to be a fixed value.</p>
  
  <p><a href="http://python-docx.readthedocs.io/en/latest/dev/analysis/features/table/table-row.html?highlight=table#row-height" rel="nofollow noreferrer">http://python-docx.readthedocs.io/en/latest/dev/analysis/features/table/table-row.html?highlight=table#row-height</a></p>
  
  <p>(Content in case link breaks)</p>
  
  <pre><code>&gt;&gt;&gt; from docx.enum.table import WD_ROW_HEIGHT
  &gt;&gt;&gt; row = table.add_row()
  &gt;&gt;&gt; row
  &lt;docx.table._Row object at 0x...&gt;
  &gt;&gt;&gt; row.height_rule
  None
  &gt;&gt;&gt; row.height_rule = WD_ROW_HEIGHT.EXACTLY
  &gt;&gt;&gt; row.height
  None
  &gt;&gt;&gt; row.height = Pt(24)
  </code></pre>
  
  <p>However, I can't import <code>WD_ROW_HEIGHT</code> from <code>docx.enum.table</code> giving this error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "C:/Users/Calderdale NUT/Google Drive/CDFU/Membership Python/labels test.py", line 2, in &lt;module&gt;
      from docx.enum.table import WD_ROW_HEIGHT
  ImportError: cannot import name 'WD_ROW_HEIGHT'
  </code></pre>
  
  <p>Checking the source, the table.py file is there, but only has <code>WD_TABLE_ALIGNMENT</code> and <code>WD_TABLE_DIRECTION</code> in.</p>
  
  <p>My python-docx version is 0.8.6</p>