]>
Commit | Line | Data |
---|---|---|
706b3c8c RD |
1 | |
2 | from wxPython.wx import wxSplitterWindow | |
fea018f8 RD |
3 | from wxPython.lib.PyCrust import shell, version, filling |
4 | ||
5 | ||
6 | #---------------------------------------------------------------------- | |
7 | ||
8 | intro = 'Welcome To PyCrust %s - The Flakiest Python Shell' % version.VERSION | |
9 | ||
10 | def runTest(frame, nb, log): | |
11 | win = wxSplitterWindow(nb, -1, size=(640, 480)) | |
12 | shellWin = shell.Shell(win, -1, introText=intro) | |
13 | fillingWin = filling.Filling(win, -1, size=(640, 480), | |
0a1d5900 RD |
14 | rootObject=shellWin.interp.locals, |
15 | rootIsNamespace=1 | |
b1cfebd9 | 16 | ) |
fea018f8 RD |
17 | win.SplitHorizontally(shellWin, fillingWin) |
18 | return win | |
19 | ||
20 | #---------------------------------------------------------------------- | |
21 | ||
22 | overview = filling.__doc__ | |
0a1d5900 | 23 | |
63b6646e RD |
24 | if __name__ == '__main__': |
25 | import sys,os | |
26 | import run | |
27 | run.main(['', os.path.basename(sys.argv[0])]) | |
28 |