Skip to content

why my IDE can't Auto-Complete for python-docx? #378

Description

@qianshuijun

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions