Great article. However, you might find that ngs-js (an embeddable server-side Javascript) runs faster than Python in CGI mode, has less of a footprint, and can still do many tasks as well as pipe a process out to command line to do anything else, such as connect to sqlite through command line and parse the result it gets back. Oh, and a secret of ngs-js is that you can start variables with $ if you want to do so, making it sort of have the feel (to some minor degree) of PHP.
I also found thttpd to be an easier embeddable server to manage and which has an awesome footprint too.
Great article. However, you might find that ngs-js (an embeddable server-side Javascript) runs faster than Python in CGI mode, has less of a footprint, and can still do many tasks as well as pipe a process out to command line to do anything else, such as connect to sqlite through command line and parse the result it gets back. Oh, and a secret of ngs-js is that you can start variables with $ if you want to do so, making it sort of have the feel (to some minor degree) of PHP.
I also found thttpd to be an easier embeddable server to manage and which has an awesome footprint too.