به Nostr بپیوندید
2024-12-27 23:32:54 UTC
in reply to

npub1jh…9eag0 on Nostr: Finally, create the server and start it running, listening for requests from ...

Finally, create the server and start it running, listening for requests

from http.server import HTTPServer

host = "192.168.1.42"
port = 8000
httpd = HTTPServer((host, port), RequestHandler)
httpd.serve_forever()

5/