from wxPython.wx import *

class MiaApp(wxApp):
    def OnInit(self):
        dlg = wxDialog(None, -1, "", size=(100, 200))

        # Primo gruppo
        wxRadioButton(dlg, 100, "1", pos=(10, 10), style=wxRB_GROUP)
        wxRadioButton(dlg, 101, "2", pos=(10, 40), style=0)
        # Secondo gruppo
        wxRadioButton(dlg, 102, "3", pos=(10, 70), style=wxRB_GROUP)
        wxRadioButton(dlg, 103, "4", pos=(10, 100), style=0)

        dlg.ShowModal()
        dlg.Destroy()
        return 1

app = MiaApp()
app.MainLoop()