def create_project(): App() project = create_new_project() if project: open_project(project)
from pig.editor.util import open_project from pug import App App() open_project()
def create_demo_project(): App() project = create_new_demo_project() if project: open_project(project)