April 24, 2010: We are pleased to announce that Version 4 of this course is now under development. For updates and an early peek at the content, please check out the Software Carpentry blog at http://www.software-carpentry.org/blog/.
Nitinat is a miniature web server written in Python. Its purpose is to show how page requests, CGI, and other features of real web servers work, so that students will better understand how to use them.
nitinat_0.py: server source.nitinat_1.py: server source.nitinat_2.py: server source.plain.html: a plain sample page
without images that the server can return.nitinat_3.py: server source.nitinat_4.py: server source.test.html: a sample page
that the server can return.test.txt: another sample
page for the server to return.test.png: an image for the
server to return.cgiutil.py: utilities for
getting data into CGI scripts.nitinat_5.py: server
source.testcgi.py: a simple CGI
script that echoes the time.testquery.py: a slightly
more sophisticated CGI script that echoes query parameters.