Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Process multiple pdf files
#1
I'd love for somebody in the know to point me in the right direction on something.

From a list of file names in an Excel workbook I want my Python script to:
Open the file named in cell A1;
Copy the file to cell B1 (just because)
Copy the first 30 words in the file to cell C1
Close the file
Open the file named in cell A2
Continue through the list in column A.
End the program

These Files are Adobe .pdf's by the way.
Reply
#2
Is this a homework assignment?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  python convert multiple files to multiple lists MCL169 6 1,436 Nov-25-2023, 05:31 AM
Last Post: Iqratech
  splitting file into multiple files by searching for string AlphaInc 2 816 Jul-01-2023, 10:35 PM
Last Post: Pedroski55
  Merging multiple csv files with same X,Y,Z in each Auz_Pete 3 1,088 Feb-21-2023, 04:21 AM
Last Post: Auz_Pete
  unittest generates multiple files for each of my test case, how do I change to 1 file zsousa 0 918 Feb-15-2023, 05:34 PM
Last Post: zsousa
  Find duplicate files in multiple directories Pavel_47 9 2,932 Dec-27-2022, 04:47 PM
Last Post: deanhystad
  Extract parts of multiple log-files and put it in a dataframe hasiro 4 2,024 Apr-27-2022, 12:44 PM
Last Post: hasiro
  Search multiple CSV files for a string or strings cubangt 7 7,843 Feb-23-2022, 12:53 AM
Last Post: Pedroski55
  Rename part of filename in multiple files atomxkai 7 7,217 Feb-18-2022, 10:03 PM
Last Post: atomxkai
  Run multiple process using subprocess Shiri 3 3,733 Nov-28-2021, 10:58 AM
Last Post: ghoul
  Generate Multiple sql Files With csv inputs vkomarag 13 4,114 Aug-20-2021, 07:03 PM
Last Post: vkomarag

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020