Python Bibliotheca
DUMAS (Dépôt Universitaire de Mémoires Après Soute
Журнальный зал
BBC Learning - Open Lab
Tornado Web Server
Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed. By using non-blocking network I/O, Tornado can scale to tens of thousands of open connections, making it ideal for long polling, WebSockets, and other applications that require a long-lived connection to each user. Upgrade notes As of Tornado 3.2, the backports.ssl_match_hostname package must be installed when running Tornado on Python 2. Hello, world Here is a simple “Hello, world” example web app for Tornado: import tornado.ioloop import tornado.web class MainHandler(tornado.web.RequestHandler): def get(self): self.write("Hello, world") application = tornado.web.Application([ (r"/", MainHandler), ]) if __name__ == "__main__": application.listen(8888) tornado.ioloop.IOLoop.instance().start() This example does not use any of Tornado’s asynchronous features; for that see this simple chat room. Installation Automatic installation: Manual installation: Download tornado-3.3.dev1.tar.gz:
SciPy -
Wikiversity
Feedbooks | Free eBooks
Peer 2 Peer University
Hidden features of Python
Beginning Python Programming — Beginning Python Programming for Aspiring Web Developers
Navigation Beginning Python Programming¶ for Aspiring Web Developers¶ Using Python 3 by Jeffrey Elkner (with liberal borrowings from the work of Allen B. Last updated: 15 December 2015 Copyright NoticeContributor ListChapter 1 The way of the programChapter 2 Values, expressions, and statementsChapter 3 Strings, lists, and tuplesChapter 4 Conditionals and loopsChapter 5 FunctionsChapter 6 Dictionaries, sets, files, and modulesChapter 7 Classes and objectsChapter 8 InheritanceChapter 9 Server-side scriptingAppendix A Configuring Ubuntu for Python web developmentGNU Free Document License Search Page © Copyright 2014, Jeffrey Elkner.
Main Page
Related:
Related: