command to run python server code example
Example 1: start a simple http server python3
python3 -m http.server 8000
Example 2: linux start simple http server
python -m SimpleHTTPServer
# or the Python 3 equivalent
python3 -m http.server
python3 -m http.server 8000
python -m SimpleHTTPServer
# or the Python 3 equivalent
python3 -m http.server