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