Skip to content

Instantly share code, notes, and snippets.

@psachin
Created April 1, 2014 16:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save psachin/9917452 to your computer and use it in GitHub Desktop.
Save psachin/9917452 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
import wx
class demo(wx.Frame):
def __init__(self, parent,id):
wx.Frame.__init__(self,parent,id,'Frame title here', size=(300,200))
if __name__=='__main__':
app=wx.PySimpleApp()
frame=demo(parent=None,id=1)
frame.Show()
app.MainLoop()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment