python: add http.server example (#7305)
This commit is contained in:
@@ -30,3 +30,7 @@
|
|||||||
- Interactively debug a Python script:
|
- Interactively debug a Python script:
|
||||||
|
|
||||||
`python -m pdb {{script.py}}`
|
`python -m pdb {{script.py}}`
|
||||||
|
|
||||||
|
- Start the built-in HTTP server on port 8000 in the current directory:
|
||||||
|
|
||||||
|
`python -m {{http.server}}`
|
||||||
|
Reference in New Issue
Block a user