Mercurial > hg > webaudioevaluationtool
view pythonServer-legacy.py @ 1450:bc074d4ee760
Resolved #1394: Python returns same XML responses as the PHP server
author | Nicholas Jillings <nickjillings@users.noreply.github.com> |
---|---|
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()