Create a basic web server in Python that serves static pages from a given directory.
Not applicable
import http.server
import socketserver

PORT = 8080

Handler = http.server.SimpleHTTPRequestHandler

with socketserver.TCPServer(("", PORT), Handler) as httpd:
 print("Serving at port", PORT)
 httpd.serve_forever()