import wx from views.MainFrame import MainFrame from controllers.Controller import Controller class App(wx.App): def OnInit(self): frame = MainFrame(None) frame.Show() Controller(frame) return True app = App() app.MainLoop()