How is text extracted from a PDF 'seen' in Python? : <p>When text is read from a PDF, how is it recognized in Python3? I want to know how Python3 'sees' it so I can tell it what information to look for, keep, etc.</p>

<p>My ultimate goal is to read a PDF, find certain text from the read information, and create a new document with only the rows of information that match the criteria. As a rough example (in pseudo code):</p>

<p>-Read the PDF, if column 4 has an 'x' in it, copy that ROW to a separate file (skip if it doesn't contain 'x'), continue through until end of PDF.</p>

<p>-Read NEW doc, if column 1 has 'n', keep row, otherwise delete it.</p>

<p>I know it isn't the most ideal way to do it and I plan on fixing that part later.</p>
