#!/usr/bin/env python
import wx
class TestFrame(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, id=-1, title=title)
text = wx.StaticText(self, label=title)
app = wx.PySimpleApp()
frame = TestFrame(None, "Hello, world!")
frame.Show()
app.MainLoop()