Code: Select all
import subprocess
subprocess.run(['libreoffice', '--headless', '--convert-to', 'pdf',
'test_docs/doc.xls', '--outdir', 'tmp_docs'])
(https://i.static.net/lrapbvwd.png)
Warum sollte dies geschehen und wie man dies behebt?
Code: Select all
import subprocess
subprocess.run(['libreoffice', '--headless', '--convert-to', 'pdf',
'test_docs/doc.xls', '--outdir', 'tmp_docs'])