Raspberry PI – creating a simple python web server
How to create a simple Python web server on your Raspberry PI?
It just takes one line to create a (simple) web server on your Raspberry PI!
- Go to the folder that should be the root of your web site and type:
python -m SimpleHTTPServer 8001 - Point your browser (Midori for instance) at:
http://localhost:8001
Note: you also can pick a different port than 8001