1# -*- coding: utf-8 -*- 2 3 4editor_main_window = None 5 6 7def launch(parent=None): 8 global editor_main_window 9 if not editor_main_window: 10 from sceditor.mainwindow import EditorMainWindow 11 editor_main_window = EditorMainWindow(parent) 12 editor_main_window.resize(640,480) 13 editor_main_window.show() 14 15