Basically I have a folder with plenty of .doc/.docx files. I need them in .txt format. The script should iterate over all the files in a directory, convert them to .txt files an
conda install -c conda-forge python-docx
from docx import Document doc = Document(file)
for p in doc.paragrafs: print(p.text) pass