DoubleEventFrame.py: #!/usr/bin/env/ python import wx class DoubleEventFrame(wx.Frame): def __init__(self,parent,id): wx.Frame.__init__(self,parent,id,'Frame with buttom',size=(300,100)) self.panel = wx.Panel(self,-1) self.button = wx.Button(self.pan…