Last active
August 7, 2018 07:19
-
-
Save hotohoto/3da331008838223e2be2edde6f3a864d to your computer and use it in GitHub Desktop.
Run simple http server using python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import http.server | |
import socketserver | |
socketserver.TCPServer(("", 1234), http.server.SimpleHTTPRequestHandler).serve_forever() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This looks easier.