Python docx.py在Windows上的每个元素之间插入空字符串

Python docx.py在Windows上的每个元素之间插入空字符串,python,docx,Python,Docx,py在linux(ubuntu)上运行良好,但在Windows上的每个元素之间插入空字符串。 如有任何建议,将不胜感激: Welcome to Python's docx module Make and edit docx in 200 lines of pure Python 这个问题只在OpenOffice中出现。在LibreOffice和WordViewer中看起来不错嘿,元素叫什么?你的代码区域是关于什么的?我的意思是每个字符串(行)你能给出你的代码吗?这是

py在linux(ubuntu)上运行良好,但在Windows上的每个元素之间插入空字符串。 如有任何建议,将不胜感激:

    Welcome to Python's docx module






    Make and edit docx in 200 lines of pure Python

这个问题只在OpenOffice中出现。在LibreOffice和WordViewer中看起来不错

嘿,元素叫什么?你的代码区域是关于什么的?我的意思是每个字符串(行)你能给出你的代码吗?这是我使用stardart example-makedocument.py得到的。我刚刚发现问题只存在于OpenOffice中。在LibreOffice和WordViewer中看起来不错