import http.server import urllib.parse class newHandler(http.server.BaseHTTPRequestHandler): def do_GET(self): self.send_response(200) self.end_headers() parseUrl = urllib.parse.urlparse(self.path) path = parseUrl.path query = parseUrl.query query_components = urllib.parse.parse_qsl(query) ende = int(query_components[1][1]) start = int(query_components[0][1]) msg = "
" + str(start) + " | " + "" + str(start*start) + " | " + "