DopeGhoti on Nostr: npub1u27r9…a3qfq The http.server package might fit the bill. import http.server ...
npub1u27r9h3j9pvrplaffsmpn698e8xhmuqhdgcxldv67ammql9pumnqha3qfq (npub1u27…3qfq)
The http.server package might fit the bill.
import http.server
import socketserver
PORT = 8080
Handler = http.server.SimpleHTTPRequestHandler
with socketserver.TCPServer( ("", PORT), Handler) as httpd:
print( "Serving on port", PORT )
httpd.serve_forever()
The http.server package might fit the bill.
import http.server
import socketserver
PORT = 8080
Handler = http.server.SimpleHTTPRequestHandler
with socketserver.TCPServer( ("", PORT), Handler) as httpd:
print( "Serving on port", PORT )
httpd.serve_forever()