解析word:doc,docx的两种思路

两种思路:
用相应的库直接读取文件
doc转换成docx

python在windows与linux下读取doc文件
https://blog.csdn.net/qq_33447950/article/details/106187384?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522159330996219726869013548%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fall.%2522%257D&request_id=159330996219726869013548&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2allfirst_rank_v2~rank_v25-2-106187384.pc_search_back_js&utm_term=linux+%E8%AF%BB%E5%8F%96doc

Ubuntu下使用python读取doc和docx文档的内容
https://blog.csdn.net/nicholas_wong/article/details/71024969?ops_request_misc=&request_id=&biz_id=102&utm_term=linux%20%E8%AF%BB%E5%8F%96doc&utm_medium=distribute.pc_search_result.none-task-blog-2allsobaiduweb~default-5-71024969

你可能感兴趣的:(python)