Re: Tornado with cgi form

2013-04-17 Thread Lele Gaifax
Renato Barbosa Pim Pereira writes: > *I installed tornado and he is functional, but when I execute the following > script:* I think this is the wrong place to ask such a question, more appropriate would be http://groups.google.com/group/python-tornado Anyway, you defined a MainHandler class *wi

Tornado with cgi form

2013-04-17 Thread Renato Barbosa Pim Pereira
*I installed tornado and he is functional, but when I execute the following script:* import tornado.ioloop import tornado.web import cgi class MainHandler(tornado.web. RequestHandler): form = cgi.FieldStorage() # parse form data print('Content-type: text/html\n')#