#!/usr/bin/env python3
import http.server, socketserver, os
os.chdir(os.path.dirname(os.path.abspath(__file__)))
with socketserver.TCPServer(("127.0.0.1", 8080),
                            http.server.SimpleHTTPRequestHandler) as httpd:
    print("serving on http://127.0.0.1:8080/opener.html")
    httpd.serve_forever()
