Files
2026-08-20 13:55:48 -07:00

12 lines
278 B
Python

#!/usr/bin/env python3
import http.server
import socketserver
PORT = 8899
Handler = http.server.SimpleHTTPRequestHandler
with socketserver.TCPServer(("", PORT), Handler) as httpd:
print(f"Serving HTTP on port {PORT} (http://localhost:{PORT}/)")
httpd.serve_forever()