I'm trying to load a print layout (.qpt) which I saved earlier via PyQgis.
I found this earlier entry, but it's for QGIS 2.x and thus doesn't work for QGIS3:
Programmatically load composer from template and generate atlas using pyQgis
Does anyone know how to do this in QGIS3?
Best Answer
For load qpt in QGIS 3 you need something like this:
look at the API loadFromTemplate()