Merge pull request #76 from kesu/python3-http-example
Added Python 3 version of simple web serverpull/85/head
commit
a942600685
|
@ -138,7 +138,7 @@ Notes:
|
||||||
- For interaction with files based on the output of another command (like `git`), use `fpp` ([PathPicker](https://github.com/facebook/PathPicker)).
|
- 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:
|
- 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
|
## Processing files and data
|
||||||
|
|
Loading…
Reference in New Issue