title: How to extract text and text coordinates from a PDF file?
body: <p>I want to extract all the text boxes and text box coordinates from a PDF file with PDFMiner.</p>
  <p>Many other Stack Overflow posts address how to extract all text in an ordered fashion, but how can I do the intermediate step of getting the text and text locations?</p>
  <p>Given a PDF file, output should look something like:</p>
  <pre><code>489, 41,  &quot;Signature&quot;
  500, 52,  &quot;b&quot;
  630, 202, &quot;a_g_i_r&quot;
  </code></pre>