title: How to extract text from an existing docx file using python-docx
body: <p>I'm trying to use <code>python-docx</code> module (<code>pip install python-docx</code>)
  but it seems to be very confusing as in <a href="https://github.com/mikemaccana/python-docx/blob/master/tests/test_docx.py" rel="noreferrer">github repo</a> test sample they are using <code>opendocx</code> function but in <a href="https://python-docx.readthedocs.org/en/latest/" rel="noreferrer">readthedocs</a> they are using <code>Document</code> class. Even though they are only showing how to add text to a docx file, not reading existing one?</p>
  <p>1st one (<code>opendocx</code>) is not working, may be deprecated. For second case I was trying to use:</p>
  <pre><code>from docx import Document
  
  document = Document('test_doc.docx')
  print(document.paragraphs)
  </code></pre>
  <p>It returned a list of <code>&lt;docx.text.Paragraph object at 0x... &gt;</code></p>
  <p>Then I did:</p>
  <pre><code>for p in document.paragraphs:
      print(p.text)
  </code></pre>
  <p>It returned all text but there were few thing missing. All URLs (CTRL+CLICK to go to URL) were not present in text on console.</p>
  <p>What is the issue? Why URLs are missing?</p>
  <p>How could I get complete text without iterating over loop (something like <code>open().read()</code>)</p>