@@ -0,0 +1,876 @@
+from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer%0Aimport os%0A %0Aport = 8000%0Aclass Tykkays20HTTPRequestHandler(BaseHTTPRequestHandler):%0A  %0A  #handle GET command%0A  def do_GET(self):%0A    try:%0A        self.send_response(200)%0A        self.send_header('Content-type','text-html')%0A        self.end_headers()%0A        self.wfile.write(%22%3Chtml%3E%3Chead%3E%3Ctitle%3ETitle goes here.%3C/title%3E%3C/head%3E%22)%0A        self.wfile.write(%22%3Cbody%3E%3Cp%3EHello, world%3C/p%3E%22)%0A        return%0A      %0A    except IOError:%0A      self.send_error(404, 'file not found')%0A  %0Adef run():%0A  print('http server is starting...')%0A %0A  #ip and port of servr%0A  #by default http server port is 80%0A  server_address = ('127.0.0.1', port)%0A  httpd = HTTPServer(server_address, Tykkays20HTTPRequestHandler)%0A  print('http server is running in port ' + str(port) + '...')%0A  httpd.serve_forever()%0A  %0Aif __name__ == '__main__':%0A  run()%0A

Hello, world