我是一个新手python和python-docx模块,所以我可能在我的代码中遗漏了一些基本的东西。本质上,我试图在for循环中包含一个"add_paragraph“,这样每次运行循环时都会将+1值添加到段落文本中。document.add_table(rows=3,cols=3)
for z in range(0,3): tabl
我尝试使用document.styles['Normal'].font.color.rgb = RGBColor(255, 0, 255)来更改表中的字体颜色,但它使表的字体中的所有颜色都发生了变化。the font Color to Bluedocument.tablesChange the font Col