- 博客(1)
- 收藏
- 关注
转载 python docx 提取超级链接文本,并修改超级链接
利用python的docx模块提取word中的包含超级链接的文本,并替换他。 这个问题找了好久,总有在github上找到了解决方案from docx.oxml.ns import qndef find_hyperlink_indoc(doc): ''' :param doc: doc file get by doc = Document('./xxxx.docx') :return: a list of all hyperlink item in doc.
2021-12-29 17:14:39 1386 2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人