LibreOffice Excel zum PDF -KonvertierungsproblemPython

Python-Programme
Anonymous
 LibreOffice Excel zum PDF -Konvertierungsproblem

Post by Anonymous »

Wenn ich versuche, diesen Code in einem Excel -Dokument auszuführen: < /p>

Code: Select all

import subprocess

subprocess.run(['libreoffice', '--headless', '--convert-to', 'pdf',
'test_docs/doc.xls', '--outdir', 'tmp_docs'])
Mein Dokument spaltet auf 2 Seiten mit der zweiten Seite wie unten gezeigt:
(https://i.static.net/lrapbvwd.png)
Warum sollte dies geschehen und wie man dies behebt?

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post