def main(): app = wx.App(False) nomenclature_filter = parse("file_filter.json", "nomenclature_filter") filewalker = Filewalker(nomenclature_filter.file, nomenclature_filter.prefix, nomenclature_filter.suffix) frame = MainFrame(filewalker) frame.Layout() frame.Show(True) app.MainLoop()
def OnInit(self): logging.basicConfig( \ # level = logging.DEBUG \ filename = "remapper.log" \ ) Model.StaticInit() frame = MainFrame() frame.Show() return True
def main(): app = DashboardApp() app.SetAppName("FOO BAR") frame = MainFrame(None, "Infinite Recharge Dashboard") frame.Show(True) app.MainLoop()
from frame import MainFrame import wx if __name__ == '__main__': app = wx.App(False) frame = MainFrame(None) frame.Show(True) app.MainLoop()