79236250

Date: 2024-11-29 08:05:57
Score: 2
Natty:
Report link

The line  from docx import [name of file]  is incorrect. It should be  from docx import Document  for reading.docx files. In Python 3, the  unicode  function no longer exists. You should directly use strings. That is,  textFile.write(unicode(para.text))  should be changed to  textFile.write(para.text) .

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user28540902