Raspberry Pi
An inexpensive computer
designed to empower
a new generation of developers.
Three Steps
- Go to home directory
- Make new directory www
- Change into new directory www
- Launch simple Python web server
Open a Browser
use port 8000
Refresh the Browser
use port 8000
Create simpleServer.py file
Run the server with Python
Create new server
simpleServerWithHandler.py
Create new Handler
simpleServerWithHandler.py
Create new Handler
simpleServerWithHandler.py
Open a Browser
use port 8000
Modify the Server
MyCameraHandler
Modify the Handler
Call Subprocess
Modify the Handler
Include image in response
Refresh the Browser
use port 8000
How to set
the image filename
from the browser?
How to set
the image size
from the browser?