Go to the latest version of this document.

# ``twisted`.`web`.`script``

module documentation
(source)

I contain PythonScript, which is a very simple python script resource.

Class | `CacheScanner` | Undocumented
Class | `PythonScript` | I am an extremely simple dynamic resource; an embedded python script.
Class | `ResourceScriptDirectory` | `ResourceScriptDirectory` is a resource which serves scripts from a filesystem directory. File children of a `ResourceScriptDirectory` will be served using `ResourceScript`. Directory children will be served using another ...
Class | `ResourceScriptWrapper` | Undocumented
Exception | `AlreadyCached` | This exception is raised when a path has already been cached.
Function | `ResourceScript` | I am a normal py file which must define a 'resource' global, which should be an instance of (a subclass of) web.resource.Resource; it will be renderred.
Function | `ResourceTemplate` | Undocumented
Variable | `noRsrc` | Undocumented
Variable | `rpyNoResource` | Undocumented

def ResourceScript(path, registry): (source)

I am a normal py file which must define a 'resource' global, which should be an instance of (a subclass of) web.resource.Resource; it will be renderred.

def ResourceTemplate(path, registry): (source)

Undocumented

noRsrc = (source)

Undocumented

rpyNoResource: `str` = (source)

Undocumented