Converting docs to text files…
I can verify that this command works from the linux command line:
soffice --headless --convert-to txt:"Text" document_to_convert.doc
But I get an error when I try to run the same command from Python:
subprocess.call(['soffice', '--headless', '--convert-to', 'txt:"Text"', document_to_convert.doc])
Error: Please reverify input parameters…
How do I get the command to run from Python?