ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/ns_dev/NinoCode/learning/wxpython/Script1.py
Revision: 3
Committed: Sat May 5 03:52:28 2012 UTC (13 years, 10 months ago) by ninoborges
Content type: text/x-python
File size: 285 byte(s)
Log Message:
Initial Import

File Contents

# User Rev Content
1 ninoborges 3 ## wxpython test script
2     ## EBorges
3    
4     from wxPython.wx import *
5    
6     class MyApp(wxApp):
7     def OnInit(self):
8     frame = wxFrame(NULL, -1, "Hello from wxPython")
9     frame.Show(true)
10     self.SetTopWindow(frame)
11     return true
12    
13     app = MyApp(0)
14     app.MainLoop()