ViewVC Help
View File
|
Revision Log
|
Show Annotations
|
View Changeset
|
Root Listing
root
/
ns_dev
/
Python
/
learning
/
wxpython
/
Script1.py
Revision:
591
Committed:
Tue Nov 3 22:45:12 2015 UTC
(10 years, 4 months ago) by
nino.borges
Content type:
text/x-python
File size:
285 byte(s)
Log Message:
Moved dir out of main dir.
File Contents
#
User
Rev
Content
1
ninoborges
8
## 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()