http-server change html code example Example 1: python http server command line python -m SimpleHTTPServer Example 2: python file server http python3 -m http.server