Daniel Keast

Python HTTP Server

programming, python

Python has an http server in it’s standard library, and if you invoke the module directly from the command line it conveniently serves the local directory:

$ python3 -m http.server
Serving HTTP on :: port 8000 (http://[::]:8000/) ...