Overview

A modified version of the SimpleHTTPRequestHandler to serve source code highlighted versions of files that are understood by Pygments (http://pygments.org)

Requires a working installation of pygments.

run the script in the root directory of the source tree that you wish to browse.  Connect to http://localhost:8000 and
navigate the tree.  Files that can be displayed should be displayed with appropriate formating.

Change the server address at line 107 if you want to host it somewhere other than localhost.  The port can be changed on the commandline (pygments-server.py <portnumber>) when running the script.

May not correctly handle some non-ASCII encodings.  

Gordon
gordon.mcgregor@verilab.com