0

>>> document = Document()

>>> sections = document.sections

>>> sections

<docx.parts.document.Sections object at 0x1deadbeef>

>>> len(sections)

3

>>> section = sections[0]

>>> section

<docx.section.Section object at 0x1deadbeef>

>>> for section in sections:

… print(section.start_type)

NEW_PAGE (2)

EVEN_PAGE (3)

ODD_PAGE (4)

Pavatharni . S Asked question June 6, 2023