Python3: http.server
import http.server import socketserver PORT = 8000 Handler = http.server.SimpleHTTPRequestHandler with socketserver.TCPServer(("", PORT), Handler) as httpd: print("serving at port", PORT) httpd.serve_forever() Run python3 -m http.server 8000 python3 -m http.server 8000 --bind 127.0.0.1 python3 -m http.server --directory /tmp/ Referensi https://docs.python.org/3/library/http.server.html Pranala
| Penerbit | Taratsa |
|---|---|
| Tahun | 2018-11-24 |
| Bahasa | ind |
| Pengenal | bookid: urn:uuid:24d15743-ac61-550a-bf7d-58937b5e090e |