Thursday, November 17, 2016

How to start http server with Python

Change to the directory where you want to start your http server:
Python2:
    python -m SimpleHTTPServer
Python3:
    python3 -m http.server

No comments: