0

PDFminer can extract strings in a .pdf by converting it to txt.

I need to highlight or add lines below some strings in the txt.

  1. Does PDFminer provide this function?
  2. Are there any other python libraries for this?
Alexander McFarlane
  • 10,643
  • 9
  • 59
  • 100
  • *I need to highlight or add lines below some strings in the TXT* ... Actually, it seems you are after the highlighting of lines in the text after you have scraped it? Is this correct? If this is, indeed, what you require: 1) Highlighting is not possible in text format. 2) Adding lines into a `.txt` file or, in fact, a multi-line `string` is a basic operation see this post: http://stackoverflow.com/q/10640804/4013571 – Alexander McFarlane May 11 '16 at 15:16
  • I've also voted to close as this doesn't appear to be related to `PDFMiner`: There is no relation between `PDFMiner` and end-product text manipulation other. These are two separate operations and it seems as though you have no problem in the `PDFMiner` part. – Alexander McFarlane May 11 '16 at 15:22

0 Answers0