Untitled
unknown
plain_text
2 years ago
239 B
4
Indexable
import http.server import socketserver PORT = 8501 handler = http.server.SimpleHTTPRequestHandler with socketserver.TCPServer(("", PORT), handler) as httpd: print("Server started at localhost:" + str(PORT)) httpd.serve_forever()
Editor is loading...