X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/00b6c4e33bdb2fcc1b56d429653963182608674b..d0ee33f5c6908b4ac5e1364381f0ef00942e3936:/wxPython/demo/PyCrust.py?ds=sidebyside diff --git a/wxPython/demo/PyCrust.py b/wxPython/demo/PyCrust.py index 3c7884151f..3fd96ebed6 100644 --- a/wxPython/demo/PyCrust.py +++ b/wxPython/demo/PyCrust.py @@ -1,16 +1,20 @@ - -from wxPython.lib.PyCrust import shell, version - +import wx.py as py #---------------------------------------------------------------------- -intro = 'Welcome To PyCrust %s - The Flakiest Python Shell' % version.VERSION +intro = 'Welcome To PyCrust %s - The Flakiest Python Shell' % py.version.VERSION def runTest(frame, nb, log): - win = shell.Shell(nb, -1, introText=intro) + win = py.crust.Crust(nb, intro=intro) return win #---------------------------------------------------------------------- -overview = shell.__doc__ +overview = py.filling.__doc__ + "\n\n" + py.crust.__doc__ + +if __name__ == '__main__': + import sys,os + import run + run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:]) +