pyshell.py

来自「用wxPython编写GUI程序的样例代码」· Python 代码 · 共 22 行

PY
22
字号

import  wx.py   as  py

#----------------------------------------------------------------------

intro = 'Welcome To PyCrust %s - The Flakiest Python Shell' % py.version.VERSION

def runTest(frame, nb, log):
    win = py.shell.Shell(nb, -1, introText=intro)
    return win

#----------------------------------------------------------------------

overview = py.shell.__doc__


if __name__ == '__main__':
    import sys,os
    import run
    run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?