Skip to content

Instantly share code, notes, and snippets.

@driscollis
Created September 5, 2018 13:54
Show Gist options
  • Save driscollis/2e65bb92cca3e7b9e0da02c3e3e8bd1e to your computer and use it in GitHub Desktop.
Save driscollis/2e65bb92cca3e7b9e0da02c3e3e8bd1e to your computer and use it in GitHub Desktop.
import wx
app = wx.App(False)
frame = wx.Frame(None, wx.ID_ANY, "Hello World")
icon = wx.Icon("py.ico")
frame.SetIcon(icon)
frame.Show()
app.MainLoop()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment