projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Compile with EVC 3.0 2002
[wxWidgets.git]
/
wxPython
/
demo
/
PyShell.py
diff --git
a/wxPython/demo/PyShell.py
b/wxPython/demo/PyShell.py
index 41edebf719300ad1ae94712851b32e8f17eae382..d93fc9b4ca8ab33d2eae304cdfb93b8d340f3b67 100644
(file)
--- a/
wxPython/demo/PyShell.py
+++ b/
wxPython/demo/PyShell.py
@@
-1,20
+1,23
@@
-from wxPython.wx import *
-from wxPython.lib.shell import PyShell
+
+from wx import py
+
#----------------------------------------------------------------------
#----------------------------------------------------------------------
+intro = 'Welcome To PyCrust %s - The Flakiest Python Shell' % py.version.VERSION
def runTest(frame, nb, log):
def runTest(frame, nb, log):
- win = PyShell(nb)
- win.Show(true)
+ win = py.shell.Shell(nb, -1, introText=intro)
return win
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])])