Python Forum
Split docx document by page number
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Split docx document by page number
#1
I am trying to split a word document by page number but havenot got any success yet Cry , can anyone suggest any library to split a docx document?
Thank you
Reply
#2
python-docx is the package to work with docx files. Here is the documentation: https://python-docx.readthedocs.io/en/latest/
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  no module named 'docx' when importing docx MaartenRo 1 715 Dec-31-2023, 11:21 AM
Last Post: deanhystad
  python-docx regex: replace any word in docx text Tmagpy 4 2,139 Jun-18-2022, 09:12 AM
Last Post: Tmagpy
  Split a number to list and list sum must be number sunny9495 5 2,198 Apr-28-2022, 09:32 AM
Last Post: Dexty
  Search text in PDF and output its page number. atomxkai 21 8,680 Jan-21-2022, 06:20 AM
Last Post: snippsat
  Verify if .docx table of contents is updated as per document sections or not vintysaw 0 3,843 Oct-24-2019, 12:01 PM
Last Post: vintysaw
  Split Column Text by Number of Characters cgoldstein 3 2,949 Mar-11-2019, 01:45 PM
Last Post: perfringo
  [split] Python Guide / Document? kumatul 2 2,693 Jan-16-2019, 12:49 AM
Last Post: micseydel
  [split] Bad magic number. What is it ? Douglas 2 5,207 Oct-22-2018, 10:38 AM
Last Post: Douglas
  Split string at specific number TimeMen 6 3,955 May-01-2018, 07:09 AM
Last Post: wavic

Forum Jump:

User Panel Messages

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