import wx app = wx.PySimpleApp() frame = wx.Frame(None, title="Controls") label1 = wx.StaticText(parent=frame, id=-1, label="Hello, world!") label2 = wx.StaticText(parent=frame, id=-1, label="How's it going?") frame.Show() app.MainLoop()