#!/usr/bin/env python3
import http.server
import sys

with http.server.HTTPServer(("", 8080), http.server.SimpleHTTPRequestHandler) as s:
    print("Serving on http://localhost:8080")
    try:
        s.serve_forever()
    except KeyboardInterrupt:
        sys.exit(0)
