[Python] convertire file odt in pdf

Raffaele Salmaso raffaele a salmaso.org
Mar 13 Ago 2019 17:35:43 CEST


On Tue, Aug 13, 2019 at 5:10 PM Riccardo mancuso <
mancuso.riccardo63 at gmail.com> wrote:

> la conversione del file .odt in .pdf lo devo eseguire mediante script
> python.
> Esiste qualcosa in merito ?
>
subprocess.run(['libreoffice', '--convert-to', 'pdf', in_file_path,
'--outdir', tmp_dir])

-- 
| Raffaele Salmaso
| https://salmaso.org
| https://bitbucket.org/rsalmaso
| https://github.com/rsalmaso
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.python.it/pipermail/python/attachments/20190813/47c3b5f4/attachment.html>


Maggiori informazioni sulla lista Python