class MainWindow(wx.Frame):

    def __init__(self, *args, **kwargs):
        wx.Frame.__init__(self, *args, **kwargs)
self.SetIcon(plane.GetIcon())
self.panel = wx.Panel(self)
self.Show()
app = wx.App(False)
win = MainWindow(None)
app.MainLoop()
Значок wxpython для панели задач