Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

paragraphs.insert doesn't work #1427

Open
YulianD opened this issue Aug 31, 2024 · 0 comments
Open

paragraphs.insert doesn't work #1427

YulianD opened this issue Aug 31, 2024 · 0 comments

Comments

@YulianD
Copy link

YulianD commented Aug 31, 2024

When using the method:
It does not work, the paragraph is inserted at the end of the document and not in the position that is being indicated.

new_paragraph = wdocument.add_paragraph('Parrafo añadido desde python3','Normal')
wdocument.paragraphs.insert(4, new_paragraph)

Python: 3.12.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant