A simple way to create a Hello World program:
import wx
app = wx.App(redirect=False)
frame = wx.Frame(parent=None, id=wx.ID_ANY, title='Hello World')
frame.Show()
app.MainLoop()
Output:
A more typical example would be to subclass wx.Frame:
import wx
class MyFrame(wx.Frame):
def...