1. 源代码参考
使用python将word文档里面的表格数据导出到CSV文件中_人如墨的博客-CSDN博客
2. 运行报错
- 成功安装docx和lxml但是报错ModuleNotFoundError: No module named 'docx'
参考:https://blog.csdn.net/qq_39059193/article/details/104045270 - UnicodeEncodeError: 'gbk' codec can't encode character '\xe7' in position 10 解决乱码问题
参考:https://blog.csdn.net/weixin_44321116/article/details/104280012 - UnicodeEncodeError: 'gbk' codec can't encode character '\xbb' in position XXX解决办法
参考:https://blog.csdn.net/BohnLee/article/details/79889744