| Home | Trees | Index | Help |
|
|---|
| Package wx :: Package lib :: Module shell :: Class PyShell |
|
object--+ |Object--+ |EvtHandler--+ |Window--+ |Panel--+ | PyShell
interactive Python shell with wxPython interface
| Method Summary | |
|---|---|
create PyShell window | |
OnSetFocus(self,
event)
| |
OnSize(self,
event)
| |
display the traceback for the latest exception | |
display message about syntax error (no traceback here) | |
Compile and run some source in the interpreter. | |
| Property Summary |
|---|
| Instance Method Details |
|---|
__init__(self,
parent,
globals={'PyShellOutput': <class 'wx.lib.shell.PyShellOutput'>, '...,
locals={},
id=-1,
pos=wx.Point(-1, -1),
size=wx.Size(-1, -1),
style=524288,
name='shell')
|
ShowException(self)display the traceback for the latest exception |
ShowSyntaxError(self)display message about syntax error (no traceback here) |
TryExec(self, source, symbol='single')Compile and run some source in the interpreter. borrowed from code.InteractiveInterpreter().runsource() as i said above, i would rather like to inherit from that class returns 1 if more input is required, or 0, otherwise |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1.20050511.rpd on Thu Mar 22 12:09:18 2007 | http://epydoc.sf.net |