I try to use this code
paragraph.insert_paragraph_before(style='Heading 2', text='heading2'),
program auto set heading number in my docx。Like 1.2,but I want 3.1.
how to set a number which I give?
the way to set my number in docx
New contributor
王齐龙 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.