mujianfenghe

Results 3 comments of mujianfenghe

> ```python > from docxtpl import DocxTemplate > > # 初始化模板对象 > tpl = DocxTemplate("./temp.docx") > > # 定义字典 context 填充渲染模板的数据 > context = { > "data": [{ > "name":...

> > > ```python > > > from docxtpl import DocxTemplate > > > > > > # 初始化模板对象 > > > tpl = DocxTemplate("./temp.docx") > > > > >...