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