Line 28 will make
Got to keep it a docx object or will lose all formatting.
p.text
a str object because you use .join()
.Got to keep it a docx object or will lose all formatting.
python-docx: preserve formatting when printing lines
|
|
Messages In This Thread |
python-docx: preserve formatting when printing lines - by Tmagpy - Jul-08-2022, 08:25 AM
RE: python-docx: preserve formatting when printing lines - by snippsat - Jul-08-2022, 12:04 PM
RE: python-docx: preserve formatting when printing lines - by Tmagpy - Jul-09-2022, 01:15 AM
RE: python-docx: preserve formatting when printing lines - by deanhystad - Jul-08-2022, 06:10 PM
RE: python-docx: preserve formatting when printing lines - by Tmagpy - Jul-09-2022, 01:10 AM
|