10 lines
229 B
Python
10 lines
229 B
Python
import http.server
|
|
import socketserver
|
|
|
|
PORT = 63654
|
|
Handler = http.server.SimpleHTTPRequestHandler
|
|
|
|
with socketserver.TCPServer(("", PORT), Handler) as httpd:
|
|
print("Serving at port", PORT)
|
|
httpd.serve_forever()
|