ViewVC Help
View File
|
Revision Log
|
Show Annotations
|
View Changeset
|
Root Listing
root
/
ns_dev
/
Python
/
learning
/
wxpython
/
Script1.py
Revision:
8
Committed:
Sat May 5 04:21:19 2012 UTC
(13 years, 10 months ago) by
ninoborges
Content type:
text/x-python
Original Path:
Python/NinoCode/learning/wxpython/Script1.py
File size:
285 byte(s)
Log Message:
Initial Import
File Contents
#
Content
1
## 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()