PageSetup.line_number_restart_mode property. Gets or sets the way line numbering runs that is, whether it starts over at the beginning of a new page or Section or runs continuously....beginning of a new page or section or runs continuously. @property...enable line numbering for a section. doc = aw . Document () builder...