X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..dfe22a0140ff744beaee056653897d3082c9e19a:/wxPython/demo/PyShell.py diff --git a/wxPython/demo/PyShell.py b/wxPython/demo/PyShell.py index 41edebf719..99d88ce078 100644 --- a/wxPython/demo/PyShell.py +++ b/wxPython/demo/PyShell.py @@ -1,20 +1,25 @@ +# 11/13/2003 - Jeff Grimmett (grimmtooth@softhome.net) +# +# o Updated for wx namespace +# -from wxPython.wx import * -from wxPython.lib.shell import PyShell +import wx.py as py #---------------------------------------------------------------------- +intro = 'Welcome To PyCrust %s - The Flakiest Python Shell' % py.version.VERSION def runTest(frame, nb, log): - win = PyShell(nb) - win.Show(true) + win = py.shell.Shell(nb, -1, introText=intro) return win - #---------------------------------------------------------------------- +overview = py.shell.__doc__ + -overview = """ -A simple GUI version of the interactive interpreter. -""" +if __name__ == '__main__': + import sys,os + import run + run.main(['', os.path.basename(sys.argv[0])])