Pyqgis Programmer 39s Guide 3 Pdf: Work

# Create a new project project = QgsProject.instance() print("Project title:", project.title())