3 from comment
source | link

Try SimpleHTTPServer.:

python -m SimpleHTTPServer
# or the Python 3 equivalent
python3 -m http.server

python -m SimpleHTTPServer It should do it—it'llwill serve whatever's in the CWD (e.g. index.html) at http://0.0.0.0:8000.

Try SimpleHTTPServer.

python -m SimpleHTTPServer should do it—it'll serve whatever's in the CWD (e.g. index.html) at http://0.0.0.0:8000

Try SimpleHTTPServer:

python -m SimpleHTTPServer
# or the Python 3 equivalent
python3 -m http.server

It should will serve whatever's in the CWD (e.g. index.html) at http://0.0.0.0:8000.

2 Add link to docs and a bit more detail.
source | link

Try SimpleHTTPServer.

python -m SimpleHTTPServer should do itit—it'll serve whatever's in the CWD (e.g. index.html) at http://0.0.0.0:8000

python -m SimpleHTTPServer should do it.

Try SimpleHTTPServer.

python -m SimpleHTTPServer should do it—it'll serve whatever's in the CWD (e.g. index.html) at http://0.0.0.0:8000

1
source | link

python -m SimpleHTTPServer should do it.