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 help(type(x)) for signature
source code
 
process_request(self, line) source code
 
process_multiline_request(self, block) source code
 
new_console(self) source code
 
index(self) 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

Properties

Inherited from object: __class__

Method Details

__init__(self, width=80)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

process_request(self, line)

source code 
Decorators:
  • @expose()

process_multiline_request(self, block)

source code 
Decorators:
  • @expose()

index(self)

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