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 'Star maps using Blender'
Blender just recently dropped a new version, 4.5(with 5.0 on the horizon), and within it was a new feature for which I immediately thought of a use for. The new feature was a .csv importer for Geometry nodes. Geometry nodes are a method of modelling that uses a node tree to create 3D models which offers more flexibility than straight modeling does. The .csv importer node allows you to bring in a .csv file and use the data in it to control aspects of your model. So for example, if you...
I tried a web search "the loss of programming ", and found an article saying that all aspects of writing, developing, and testing software programs will one day all be handled through artificial intelligence. One must wonder then, who is responsible. WHO is responsible for any problems, bugs, deficiencies, or whatever malfunctions which the programs make their users endure? Things may work wrong however the "wrong" happens. AI needs to fix the problems for the users. Any way to...
Back
Top