diff pythonServer-legacy.py @ 1315:d9b9f707f862

Updated author list for WAC 2016
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Sun, 21 Feb 2016 11:15:52 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pythonServer-legacy.py	Sun Feb 21 11:15:52 2016 +0000
@@ -0,0 +1,11 @@
+import SimpleHTTPServer
+import SocketServer
+
+PORT = 8080
+
+Handler = SimpleHTTPServer.SimpleHTTPRequestHandler
+
+httpd = SocketServer.TCPServer(("", PORT), Handler)
+
+print "serving at port", PORT
+httpd.serve_forever()