我想用python阅读docx文件。 然后从中提取数字 比如:
with open('test.docx') as t: text = t.readlines() a = [] a.append([int(s) for s in text.split() if s.isdigit()]) a = [int(numeric_string) for numeric_string in a]
谢谢你的帮助