pvanand's picture
Create app.py
9ea09ee verified
raw
history blame contribute delete
222 Bytes
import http.server
import socketserver
PORT = 8000
Handler = http.server.SimpleHTTPRequestHandler
with socketserver.TCPServer(("", PORT), Handler) as httpd:
print(f"Serving at port {PORT}")
httpd.serve_forever()