Les Partages de Memiks
Tag cloud
Picture wall
Daily
RSS Feed
  • RSS Feed
  • Daily Feed
  • Weekly Feed
  • Monthly Feed
Filters

Links per page

  • 20 links
  • 50 links
  • 100 links

Filters

Untagged links
Tornado Web Server http://www.tornadoweb.org/
Mon Jul 2 18:15:41 2012 archive.org
QRCode
thumbnail

Un serveur Web en Python qui ne nécessite aucune dépendance pour peu que votre Python soit en 2.6 ou 2.7

Et le hello world est ridicule:

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()

python web server tornado
4759 links, including 1673 private
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Theme by kalvn