On Sun, Jan 07, 2018 at 04:19:53PM +0100, Sergio Spina wrote: > Say I have a document opened in scribus named "simpledoc.sla" with 55 pages; > > I want to export to PDF pages 21 to 24 as "fourpages.pdf" > > Can you put down a chunk of python code that does what I have just said?
import scribus pdf = scribus.PDFfile() pdf.pages = [21, 22, 23, 24] pdf.file = 'fourpages.pdf' pdf.save()
