mirror of
https://github.com/emmabostian/developer-portfolios.git
synced 2025-04-21 05:38:01 +00:00
9 lines
231 B
Python
9 lines
231 B
Python
import http.server
|
|
import socketserver
|
|
|
|
PORT = 5000
|
|
Handler = http.server.SimpleHTTPRequestHandler
|
|
|
|
with socketserver.TCPServer(("", PORT), Handler) as httpd:
|
|
print(f"Serving at http://0.0.0.0:{PORT}")
|
|
httpd.serve_forever() |