view pythonServer-legacy.py @ 1062:3e84741cca7a

Scripts: evaluation statistics: show average duration per song in order of number of fragments and average total duration; count empty comments; fragments per song; distinguish between same audioholder ids with different number of audioelements.
author Brecht De Man <BrechtDeMan@users.noreply.github.com>
date Wed, 15 Jul 2015 15:52:56 +0100
parents 7aa8862850ef
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()