Video-Display / http.server
jordonpeter01's picture
Create http.server
82498e1 verified
raw
history blame contribute delete
236 Bytes
import http.server
import socketserver
PORT = 8000
Handler = http.server.SimpleHTTPRequestHandler
with socketserver.TCPServer(("", PORT), Handler) as httpd:
print(f"Servindo em http://localhost:{PORT}")
httpd.serve_forever()