Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

server in python

def run(server_class=HTTPServer, handler_class=BaseHTTPRequestHandler):
    server_address = ('', 8000)
    httpd = server_class(server_address, handler_class)
    httpd.serve_forever()
Source by docs.python.org #
 
PREVIOUS NEXT
Tagged: #server #python
ADD COMMENT
Topic
Name
4+6 =