The nepenthes.py and submit.html files are modeled after the PHP version here:
http://www.remoteroot.net/2008/07/21/nepenthes-submit-http-server-with-file-upload/

To use these scripts, follow the steps:

* Make sure the scripts in cgi-bin are executable
* Make sure the binaries directory is writable 
* Configure the port in cgiserver.py if necessary

Launch the web server like this:

$ python cgiserver.py & 