Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/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