Package turbogears :: Package toolbox :: Module shell :: Class WebConsole

Class WebConsole

source code

            object --+        
                     |        
controllers.Controller --+    
                         |    
controllers.RootController --+
                             |
                            WebConsole

Web based Python interpreter

Instance Methods
 
__init__(self, width=80)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
process_request(self, line, *_decorator__varargs, **_decorator__kwargs) source code
 
process_multiline_request(self, block, *_decorator__varargs, **_decorator__kwargs) source code
 
new_console(self) source code
 
index(self, *_decorator__varargs, **_decorator__kwargs) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  __label__ = 'WebConsole'
  icon = '/tg_static/images/shell.png'

Inherited from controllers.RootController: is_app_root

Inherited from controllers.Controller: accesslog, msglog, msglogfunc

Properties

Inherited from object: __class__

Method Details

__init__(self, width=80)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

process_request(self, line, *_decorator__varargs, **_decorator__kwargs)

source code 
Decorators:
  • @expose()

process_multiline_request(self, block, *_decorator__varargs, **_decorator__kwargs)

source code 
Decorators:
  • @expose()

index(self, *_decorator__varargs, **_decorator__kwargs)

source code 
Decorators:
  • @expose(template= "turbogears.toolbox.console")