Merge pull request #76 from kesu/python3-http-example

Added Python 3 version of simple web server
This commit is contained in:
Joshua Levy 2015-06-19 23:23:37 -07:00
commit a942600685

View file

@ -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