when i use python-docx , my IDE ,like pycharm wing , can't Auto-Complete it.
this code
from docx import Document
asd = Document()
asd.add_heading("test")
asd.save("cao.docx")
when i typing asd. add_heading can't Auto-Complete.
from docx.document import Document
asd = Document()
asd.save()
this code can Auto-Complete
but atention
TypeError: init() missing 2 required positional arguments: 'element' and 'part'
I am sorry for my poor english
when i use python-docx , my IDE ,like pycharm wing , can't Auto-Complete it.
this code
when i typing asd. add_heading can't Auto-Complete.
this code can Auto-Complete
but atention
I am sorry for my poor english