Python 3 · Running Python

Serve the current folder

Start a simple web server on port 8000.

python3 -m http.server 8000

Caution: For local use only. It is not meant for production.

Official Python 3 documentation

More running python commands

All running python commands · Python 3 cheatsheet

Was this page helpful?