X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0af45411b9d08118f2a599427de2092c3f7972f2..685d898512944add00640b6e37da89159ee4d9b5:/wxPython/demo/PyCrust.py diff --git a/wxPython/demo/PyCrust.py b/wxPython/demo/PyCrust.py index feaf9df92e..b0c4226e6f 100644 --- a/wxPython/demo/PyCrust.py +++ b/wxPython/demo/PyCrust.py @@ -1,22 +1,24 @@ +# 11/13/2003 - Jeff Grimmett (grimmtooth@softhome.net) +# +# o Updated for wx namespace +# - -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(['', 'PyCrust']) + run.main(['', os.path.basename(sys.argv[0])])