Mercurial > hg > webaudioevaluationtool
view pythonServer-legacy.py @ 1445:dd4fed6a03f2
On XML parser error, will clear the page to show only the error message.
author | Nicholas Jillings <nickjillings@users.noreply.github.com> |
---|---|
date | Fri, 18 Dec 2015 18:33:08 +0000 |
parents | 1e85294554fe |
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()