From 30f46d703eca8e828010e3ca0a2e4b838c805589 Mon Sep 17 00:00:00 2001 From: Lauri Date: Sun, 31 Oct 2021 07:07:39 +0200 Subject: [PATCH] python: add http.server example (#7305) --- pages/common/python.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/python.md b/pages/common/python.md index f8f9e2dab8..42d8877468 100644 --- a/pages/common/python.md +++ b/pages/common/python.md @@ -30,3 +30,7 @@ - Interactively debug a Python script: `python -m pdb {{script.py}}` + +- Start the built-in HTTP server on port 8000 in the current directory: + +`python -m {{http.server}}`