Various web sources give a version of the below code:
from http.server import SimpleHTTPRequestHandler import ssl import socketserver httpd = socketserver.TCPSe