根据模板生成公安应用文时,需要用______________函数进行渲染。
A. render()
B. apply()
C. replace()
D. save()
查看答案
操作docx文档的python-docx模块中,docx文档没有下列________________对象:
A. Document
B. Paragraph
C. Run
D. Worksheet
python-docx模块往docx文档中添加标题时,使用__________属性指定标题级别:
A. grade
B. level
C. title
D. praragraph
用openpyxl读取Excel文档中的数据可以使用下列方法:
A. 读取单元格中的数据,如:ws1["A1"].value
B. 可以从行读取,如:row_range = ws1[2:3]for row inrow_range:for cell in row:print(cell.value, end="")print()
C. 可以从列读取数据,如:for cell in ws1["A"]:print(cell.value)
D. 可以从区域读取数据,如:for row in ws1.iter_rows(min_row=3, min_col=1, max_col=3, max_row=6):for cell in row:print(cell.value,end=" ") print()
python-docx模块往docx文档中添加图片时,可以使用_______指定图片的大小尺寸的单位:
A. docx.shared.Cm(n)
B. docx.shared.Inches(n)
C. docx.shared.Mm(n)
D. docx.shared.Pt(n)