What do I need to do to open a project-file as a template with PyQGIS in QGIS 3?

I am able to open a project like this:

project = QgsProject.instance()

But how do I open this "project.qgs" as a template-project?

  • What is your objective or meaning of template, can you expand more? – artwork21 Jan 11 at 12:27

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.