MHB Code language for editing PDF files

AI Thread Summary
To edit around 24 PDF files by deleting the first page or specific text, Python is recommended as the most convenient programming language due to its robust libraries for handling PDFs. For deleting the first page, using a PDF editor or viewer may be the quickest solution. If text manipulation is required, Python libraries like PyPDF2 or PDFMiner can be utilized. Resources such as BeautifulSoup for web scraping are also mentioned, but they are less relevant for direct PDF editing. Overall, Python offers a straightforward approach for both tasks, making it suitable for amateur coders looking to expand their skills.
linag96
Messages
3
Reaction score
0
I have around ~24 PDF files I want to edit. I want to delete the first page of each file OR scan for certain text in the file/delete the text (whichever implementation is easier). What would be the most convenient and straight forward coding language to do this with and what would be my starting guide to creating this program?
I am an amateur coder, I love learning coding. I have about 4 months of experience with C++. I used a lot of MatLab last year for my math classes, I also learned some command line. I'm open to learning anything new. Thank you for your help.
 
Technology news on Phys.org
Like web crawling (or scraping)?

If you are viewing them in browser i guess using Javascript would be the best way to crawl. If not, probably Python.

Some interesting resources here and http://www.nyu.edu/projects/politicsdatalab/localdata/workshops/BeautifulSoup.pdf.

However if you only want to delete the first page of each, then the editor or previewer you are using to view them will likely be the fastest way.
 
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
Back
Top