For those who don't know, the Android Scripting Environment allows you to use scripting languages to experiment with Android.
I wanted to try it, so I wrote this little web server that takes pictures when you make an HTTP request to it.
import BaseHTTPServer, android
from os import path
droid = android.Android()
FILENAME = "/sdcard/sl4a/spy/pic.jpg"
PORT = 9090
"""Respond to a GET request."""
picture = open(FILENAME, 'rb')
server_class = BaseHTTPServer.HTTPServer
httpd = server_class(('', PORT), Handler)
The code is on Github.