Mercurial > hg > webaudioevaluationtool
view pythonServer-legacy.py @ 1214:dc4300033afc
Added error check for empty file in save.php
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Tue, 23 Feb 2016 14:18:25 +0000 |
parents | ddc5a639179a |
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()