Mercurial > hg > webaudioevaluationtool
view pythonServer-legacy.py @ 813:f452455b5977
Resolved #1394: Python returns same XML responses as the PHP server
author | Nicholas Jillings <nicholas.jillings@eecs.qmul.ac.uk> |
---|---|
date | Fri, 27 Nov 2015 12:09:49 +0000 |
parents | |
children |
line wrap: on
line source
import SimpleHTTPServer import SocketServer PORT = 8080 Handler = SimpleHTTPServer.SimpleHTTPRequestHandler httpd = SocketServer.TCPServer(("", PORT), Handler) print "serving at port", PORT httpd.serve_forever()