2018_07_31_python_webserver

less than 1 minute read

python http server

simple startup of a python webserver for mac in your local directory:

python2: python -m SimpleHTTPServer

python3 with cgi: python -m http.server --cgi

python3 normal: python3 -m http.server

i mean what can go wrong here really?!?

source: start-web-server-python-3

Categories:

Updated: