import wx app = wx.PySimpleApp() frame = wx.Frame(None, title="Hi") frame.Show() app.MainLoop()