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