Otto 1.2
Otto is an application that uses a routes-like syntax to map URLs to code and supports object traversal.You can use the publisher to write web applications. It was designed with both small and large applications in mind. The documentation includes a tutorial and examples which show how to solve common problems.import ottoimport webobimport wsgiref.simple_serverapp = otto.Application()@app.route(\"/\")def hello_world(request): return webob.Response(u\"Hello world!\")wsgiref.simple_server.make_server(\'\', 8080, app).serve_forever()This starts an application server which serves the hello world application on http://localhost:8080.Hello world!Otto works with Python 2.6 or newer.Requirements:
Ссылка: http://pypi.pyt..s/source/O/Otto/Otto-1.2.tar.gz#md5=fa93da5e6c63ffb6c1c5ff61feca5b2b
Ссылка: http://pypi.pyt..s/source/O/Otto/Otto-1.2.tar.gz#md5=fa93da5e6c63ffb6c1c5ff61feca5b2b
Видео: