2 """PyShell is a python shell application."""
4 __author__
= "Patrick K. O'Brien <pobrien@orbtech.com>"
6 __date__
= "July 1, 2001"
7 __version__
= "$Revision$"[11:-2]
9 from wxPython
.wx
import *
10 from shell
import ShellFrame
14 """PyShell standalone application."""
17 locals = {'__app__': 'PyShell Standalone Application'}
18 self
.shellFrame
= ShellFrame(locals=locals)
19 self
.shellFrame
.Show(true
)
20 self
.SetTopWindow(self
.shellFrame
)
21 # Add the application object to the sys module's namespace.
22 # This allows a shell user to do:
24 # >>> sys.application.whatever
26 sys
.application
= self
32 application
.MainLoop()
34 if __name__
== '__main__':