2001-12-19 16:23:53 -05:00
|
|
|
|
|
|
|
from wxPython.wx import wxSplitterWindow
|
2001-09-04 19:44:17 -04:00
|
|
|
from wxPython.lib.PyCrust import shell, version, filling
|
|
|
|
|
|
|
|
|
|
|
|
#----------------------------------------------------------------------
|
|
|
|
|
|
|
|
intro = 'Welcome To PyCrust %s - The Flakiest Python Shell' % version.VERSION
|
|
|
|
|
|
|
|
def runTest(frame, nb, log):
|
|
|
|
win = wxSplitterWindow(nb, -1, size=(640, 480))
|
|
|
|
shellWin = shell.Shell(win, -1, introText=intro)
|
|
|
|
fillingWin = filling.Filling(win, -1, size=(640, 480),
|
2001-12-13 13:54:44 -05:00
|
|
|
rootObject=shellWin.interp.locals,
|
|
|
|
rootIsNamespace=1
|
2001-09-14 12:13:57 -04:00
|
|
|
)
|
2001-09-04 19:44:17 -04:00
|
|
|
win.SplitHorizontally(shellWin, fillingWin)
|
|
|
|
return win
|
|
|
|
|
|
|
|
#----------------------------------------------------------------------
|
|
|
|
|
|
|
|
overview = filling.__doc__
|
2001-12-13 13:54:44 -05:00
|
|
|
|