Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
A simple persistent factory, for use in CGI or multi-process environments
where the state must remain across python interpreter sessions.
This implementation uses the 'shelve' module.

src/p/y/PyCAPTCHA-HEAD/modpython_example.py   PyCAPTCHA(Download)
def _getFactory(req):
    return Captcha.PersistentFactory("/tmp/pycaptcha_%s" % req.interpreter)
def test(req, name=Tests.__all__[0]):