We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38ca7d9 commit 1c5acdeCopy full SHA for 1c5acde
start-server.py
@@ -0,0 +1,11 @@
1
+import SimpleHTTPServer
2
+import SocketServer
3
+
4
+PORT = 8000 #This will serve at port 8080
5
6
+Handler = SimpleHTTPServer.SimpleHTTPRequestHandler
7
8
+httpd = SocketServer.TCPServer(("", PORT), Handler)
9
10
+print "serving at port", PORT
11
+httpd.serve_forever()
0 commit comments