Iterating over PDF documents

Tomas 1cdq3arii001 at
Fri Nov 12 15:44:41 CET 2004

"Peter Maas" <peter at> wrote in message 
news:cmv9j2$et5$1 at
> I'm trying to edit a PDF document line-wise. This is more difficult
> than I thought, because PDF uses a mixture of all line terminators
> available in *X, Mac and Win so that utilizing "for line in file"
> is difficult.

If you're just going to extract some text or do searching, you can try the 
pdftotext utility and convert the document(s) to plain text. (Windows).


More information about the Python-list mailing list