python-docx

Ethan Woo wooethan14 at gmail.com
Mon Nov 25 03:57:59 EST 2019


Hi everyone,

I am currently using Python 3.7.4, and have used pip to install python
docx. I have looked up on many tutorials on how to use it, but they are all
mostly the same.
doc.add_heading("Test")
when i type that line, i get this:
KeyError: "no style with name 'Heading 1'"
can help?


More information about the Python-list mailing list