Skip to main content
Participant
July 10, 2020
Question

Python script to remove attached CSV file

  • July 10, 2020
  • 2 replies
  • 471 views

Hi all,

 

Does anyone have a script to remove a csv file that's been attached to a pdf file?

 

I mainly use python but am comfortable with VBA and Powershell too.

 

Any assistance will help tbh.

 

Greatly appreciate some feedback

This topic has been closed for replies.

2 replies

Legend
July 10, 2020

We can only help with the Adobe products here. There is for sure no such API in the free Reader... this is a key reason for buying Pro!

Legend
July 10, 2020

Do you have Acrobat Pro? It supports VBA as described in the Acrobat SDK. But I don't know if it can do this.

Participant
July 10, 2020

I dont unfortunately.

Found this Python library (pypdf2) and ran these method (trailer, getDocumentInfo) but the CSV details dont appear?