Getting the List Numbers of List Items in docx file using Python-Docx
Getting the List Numbers of List Items in docx file using Python-Docx Question: When I am accessing paragraph text it does not include the numbering in a list. Current code: document = Document("C:/Foo.docx") for p in document.paragraphs: print(p.text) List in docx file: I am expecting: (1) The naturalization of both … (2) The naturalization of …