Re-added a couple files that got left out of the merge somehow...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
21
wxPython/demo/PyShell.py
Normal file
21
wxPython/demo/PyShell.py
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
|
||||||
|
from wxPython.wx import *
|
||||||
|
from wxPython.lib.shell import PyShell
|
||||||
|
|
||||||
|
#----------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
def runTest(frame, nb, log):
|
||||||
|
testGlobals = {'hello' : 'How are you?'}
|
||||||
|
win = PyShell(nb, globals=testGlobals)
|
||||||
|
win.Show(true)
|
||||||
|
return win
|
||||||
|
|
||||||
|
|
||||||
|
#----------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
overview = """
|
||||||
|
A simple GUI version of the interactive interpreter.
|
||||||
|
"""
|
||||||
|
|
Reference in New Issue
Block a user