]> git.saurik.com Git - wxWidgets.git/blame - wxPython/demo/PyShell.py
Fix "warning: operation on 'y' may be undefined".
[wxWidgets.git] / wxPython / demo / PyShell.py
CommitLineData
1fded56b 1
8fa876ca 2import wx.py as py
1fded56b
RD
3
4#----------------------------------------------------------------------
5
6intro = 'Welcome To PyCrust %s - The Flakiest Python Shell' % py.version.VERSION
7
8def runTest(frame, nb, log):
9 win = py.shell.Shell(nb, -1, introText=intro)
10 return win
11
12#----------------------------------------------------------------------
13
14overview = py.shell.__doc__
15
16
17if __name__ == '__main__':
18 import sys,os
19 import run
8eca4fef 20 run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])
1fded56b 21