wxWidgets/wxPython/demo/PyCrust.py

24 lines
507 B
Python
Raw Normal View History

from wxPython.lib.PyCrust import shell, version
#----------------------------------------------------------------------
intro = 'Welcome To PyCrust %s - The Flakiest Python Shell' % version.VERSION
def runTest(frame, nb, log):
win = shell.Shell(nb, -1, introText=intro)
return win
#----------------------------------------------------------------------
overview = shell.__doc__
if __name__ == '__main__':
import sys,os
import run
run.main(['', os.path.basename(sys.argv[0])])