1

I'm using Apache Tika from within Python as follows, to extract images/attachments from PDF files.

subprocess.call(["java", "-jar", "./tika-app-1.10.jar","--extract"+data_dir])

This leads to messages being shown for each extracted attachment, such as "Extracting 'image1.jpg' (image/jpeg) to ./image1.jpg". Is there a way I can hide these types of messages from the output?

Gagravarr
  • 47,320
  • 10
  • 111
  • 156
Hamman Samuel
  • 2,350
  • 4
  • 30
  • 41

0 Answers0