This commit is contained in:
2026-01-24 03:25:20 +01:00
parent 7b011b5d2f
commit cb52c109de
4 changed files with 21 additions and 0 deletions

13
5/screenr2/server.py Normal file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env python3
from http.server import SimpleHTTPRequestHandler, HTTPServer
PORT = 8000
def run_server():
handler = SimpleHTTPRequestHandler
httpd = HTTPServer(("", PORT), handler)
print(f"Serving HTTP on port {PORT} (http://localhost:{PORT}/) …")
httpd.serve_forever()
if __name__ == "__main__":
run_server()