python-docx2txt
python-docx2txt copied to clipboard
text = docx2txt.process("file.docx", "/tmp/img_dir") File not found
I have the following script:
import docx2txt
input_loc = input("Your docx location: ") output_loc = input("Output location: ")
text = docx2txt.process(input_loc.split('"')[1], output_loc.split('"')[1])
Where the input is: Your docx location: "C:\Users\Public\Documents\DV_Test_Report_-_Test_Plan.docx" Output location: "C:\Users\Public\Pictures\Temp_Images"
is showing the following error:
Traceback (most recent call last):
File "C:/Users/cca/Downloads/TestImages.py", line 6, in
same issue