]> git.saurik.com Git - wxWidgets.git/blob - wxPython/demo/PyShell.py
fixed the last of the off-by-one errors (some are refixed, again...)
[wxWidgets.git] / wxPython / demo / PyShell.py
1
2 from wxPython.wx import *
3 from wxPython.lib.shell import PyShell
4
5 #----------------------------------------------------------------------
6
7
8 def runTest(frame, nb, log):
9 testGlobals = {'hello' : 'How are you?'}
10 win = PyShell(nb, globals=testGlobals)
11 win.Show(true)
12 return win
13
14
15 #----------------------------------------------------------------------
16
17
18 overview = """
19 A simple GUI version of the interactive interpreter.
20 """
21