title: python-docx: Insert a paragraph after
body: <p>In python-docx, the <code>paragraph</code> object has a method <a href="http://python-docx.readthedocs.io/en/latest/api/text.html#docx.text.paragraph.Paragraph.insert_paragraph_before" rel="nofollow noreferrer">insert_paragraph_before</a> that allows inserting text before itself:</p>
  
  <pre><code>p.insert_paragraph_before("This is a text")
  </code></pre>
  
  <p>There is no <code>insert_paragraph_after</code> method, but I suppose that a paragraph object knows sufficiently about itself to determine which paragraph is next in the list. Unfortunately, the inner workings of the python-docx AST are a little intricate (and not really documented). </p>
  
  <p>I wonder how to program a function with the following spec?</p>
  
  <pre><code>def insert_paragraph_after(para, text):
  </code></pre>