<filename>tensor__cpu/IO_file/docx_file.py
# -*- coding: utf-8 -*-

# from docx import Document
#
# document = Document('./linshaoqun.doc')
#
# print(list(document.paragraphs))
# print(document.paragraphs[0].text)

with open('./ss.txt', encoding='utf8' ) as f:
    print(f.read())
<filename>tensor__cpu/IO_file/docx_file.py
# -*- coding: utf-8 -*-

# from docx import Document
#
# document = Document('./linshaoqun.doc')
#
# print(list(document.paragraphs))
# print(document.paragraphs[0].text)

with open('./ss.txt', encoding='utf8' ) as f:
    print(f.read())
# -*- coding: utf-8 -*- # from docx import Document # # document = Document('./linshaoqun.doc') # # print(list(document.paragraphs)) # print(document.paragraphs[0].text)