In order to run very basic HTTP Server with Python, you can run Python `http.server` module. ```Python python -m http.server ``` Default behavior is that `http.server` will allow you to browse current directory where Python is executed via web. You can point to a different directory by supplying `-d/—-directory` flag: ```Python python -m http.server -d /my_directory/ ``` By default - Python HTTP Server will start listening on port 8000. To change the port number, supply the option at the end. ```Python python -m http.server -d /my_directory/ 9000 ``` ### See also 1. [[Python]] ### Reference 1. [Python http.server docs](https://docs.python.org/3/library/http.server.html)