Serve the current directory over the Web via Python

The old Python 2 way of doing it:

1
$ python -m SimpleHTTPServer

The Python3 approach:

1
$ python3 -m http.server

Specify a custom port (8008) with the Python3 approach:

1
$ python3 -m http.server 8008