Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 615 Bytes

internet.md

File metadata and controls

21 lines (13 loc) · 615 Bytes

Python Internet Protocols and Support

HTTP Servers

The http.server library can be used from the command line to serve a local directory. To serve the current working directory on http://localhost:8000:

python3 -m http.server                  # 3.x
python  -m SimpleHttpServer 8000        # 2.x