import osimport docxspam=os.listdir('D:\\1')#获取文件夹下的word文档列表print(spam)for i in spam: doc=docx.Document('D:\\1\\{}'.format(i)) doc.add_paragraph('worl ...
分类:
编程语言 时间:
2019-08-23 13:12:22
阅读次数:
153
XML 的语法规则很简单,且很有逻辑。这些规则很容易学习,也很容易使用。 所有 XML 元素都须有关闭标签 在 HTML,经常会看到没有关闭标签的元素: <p>This is a paragraph <p>This is another paragraph 在 XML 中,省略关闭标签是非法的。所有 ...
分类:
其他好文 时间:
2019-08-16 23:18:08
阅读次数:
188
HTML 标题 HTML 标题(Heading)是通过 <h1> - <h6> 等标签进行定义的。 实例 HTML 段落 HTML 段落是通过 <p> 标签进行定义的。 实例 <p>This is a paragraph.</p> <p>This is another paragraph.</p> ...
分类:
Web程序 时间:
2019-08-14 12:16:22
阅读次数:
98
最近实习需要对若干ppt进行格式上的调整,主要就是将标题的位置、对齐方式、字体等统一,人工修改又麻烦又容易错。 因此结合网上的pptx包资料,使用python脚本完成处理。 主要的坑点在于,shape的text_frame不能直接修改字体,甚至paragraph也不行,由于一个框里多个字体存在,它会 ...
分类:
编程语言 时间:
2019-07-17 16:57:01
阅读次数:
360
<! wp:heading {"level":4} 加入依赖 <! /wp:heading <! wp:heading {"level":4} 开启注解缓存 <! /wp:heading <! wp:paragraph 在启动类上加入 @EnableCaching <! /wp:paragraph ...
分类:
编程语言 时间:
2019-07-10 15:11:18
阅读次数:
354
1、JavaScript:写入 HTML 输出 1 document.write("<h1>This is a heading</h1>"); 2 document.write("<p>This is a paragraph</p>"); 2、JavaScript:对事件作出反应 1 <button ...
分类:
编程语言 时间:
2019-05-11 17:53:00
阅读次数:
129
HTML常用标签(页面) ? <p>-段落(paragraph)? 标签<h1>到<h6>标题元素。 <h1>定义了最大的标题元素,<h6>定义了最小的。? <br />换行标签。? <hr size=“9” width=“80%” color=“red”/>水平线 HTML常用标签(文字操作)? ...
分类:
Web程序 时间:
2019-05-08 21:38:23
阅读次数:
171
A brief introduction to how to use markdown for Typora. <! more Block Elements Paragraph and line breaks press Enter to create a new paragraph press S ...
分类:
其他好文 时间:
2019-02-21 21:55:01
阅读次数:
190
Given a paragraph and a list of banned words, return the most frequent word that is not in the list of banned words. It is guaranteed there is at leas ...
分类:
其他好文 时间:
2019-02-12 00:25:26
阅读次数:
109
<hr /> 标签可以在 HTML 页面中创建水平线,通常用来分隔文章中的小节 效果如下: This is a paragraph This is a paragraph This is a paragraph ...
分类:
Web程序 时间:
2019-02-02 10:18:26
阅读次数:
186