]> git.saurik.com Git - wxWidgets.git/blob - wxPython/demo/PyShell.py
More demo conversion and cleanup from Jeff
[wxWidgets.git] / wxPython / demo / PyShell.py
1
2 import wx.py as py
3
4 #----------------------------------------------------------------------
5
6 intro = 'Welcome To PyCrust %s - The Flakiest Python Shell' % py.version.VERSION
7
8 def runTest(frame, nb, log):
9 win = py.shell.Shell(nb, -1, introText=intro)
10 return win
11
12 #----------------------------------------------------------------------
13
14 overview = py.shell.__doc__
15
16
17 if __name__ == '__main__':
18 import sys,os
19 import run
20 run.main(['', os.path.basename(sys.argv[0])])
21