python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
cannot make text rtl with python-docx
yes i know many questions about this issue exists but i couldn't make any of them work.
i have python 3.7 and python-docx 0.8.11.
i have tried many solutions including this one
from docx import Docume...
user
Votes: 0
Answers: 1
raise UnrecognizedImageError docx.image.exceptions.UnrecognizedImageError
if pattern.search(para.text):
if para.text.find(str("#i.aadhaarfront_image|height:200|width:200")) > -1:
para._element.clear_content()
path = f"media/images/{(self.userdetail...
khansahab
Votes: 0
Answers: 0
How to output the correct statement in a loop using python
I am currently working on some python (version 3.10.4) code on PyCharm (Community Edition 2021.3.3) using the python-docx library (version 0.8.1.1), that allows to determine if text (in a Word documen...

user18675782
Votes: 0
Answers: 2
I want to add a new paragraph between two existing paragraph in word file using python docx
In my word file I have
My first paragraph
My second paragraph
Third paragraph
Fourth paragraph
fifth paragraph
My Code
from docx import Document
from docx.enum.text import WD_BREAK
document = Docum...
Thrive Rage
Votes: 0
Answers: 1