python listen for http request code example Example: python3 webserver command line python3 -m http.server