mirror of
https://github.com/xmengnet/the-art-of-command-line.git
synced 2024-12-24 10:36:30 +08:00
Added Python 3 version of simple web server
This commit is contained in:
parent
8e14e43ef2
commit
288eaa8b1b
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ Notes:
|
|||
- For interaction with files based on the output of another command (like `git`), use `fpp` ([PathPicker](https://github.com/facebook/PathPicker)).
|
||||
|
||||
- For a simple web server for all files in the current directory (and subdirs), available to anyone on your network, use:
|
||||
`python -m SimpleHTTPServer 7777` (for port 7777 and Python 2).
|
||||
`python -m SimpleHTTPServer 7777` (for port 7777 and Python 2) and `python -m http.server 7777` (for port 7777 and Python 3).
|
||||
|
||||
|
||||
## Processing files and data
|
||||
|
|
Loading…
Reference in a new issue