codice:
from wxPython.wx import *

class mainFinestra(wxFrame):
    def __init__(self,parent,id):
        wxFrame.__init__(self,parent,id,'Ciao a tutti',size = (100,40),style=wxDEFAULT_FRAME_STYLE)
        self.panel = wxPanel(self,-1)
        self.label1 = wxStaticText(self.panel,-1,'Ciao Mondo',pos = (10,0))  

a = wxPySimpleApp()
frame = mainFinestra(None,-1)
frame.Show(1)
a.MainLoop()