diff pythonServer.py @ 1542:db0823f2210d

Bug Fix #1303 on main
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Thu, 25 Jun 2015 16:40:11 +0100
parents
children e08f2b155d8b
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pythonServer.py	Thu Jun 25 16:40:11 2015 +0100
@@ -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()