@title Python @h 1 @link ../lang/lang.html#Python Python @dl { @link kurs-19991025/ { Course materials } { Slides from a course in Python I held in 1999. (Norwegian) } @link getpage/ Getpage { An example of how to mirror a single web page and its contents without mirroring an entire site. } @link ncmp/ ncmp { Three different implementations of a module which contains a compare function suited for sorting lists of source code revisions and similar. } @link DCLMatcher.py DCLMatcher { This modules provides table lookups in a style similar to the @link ../lang/lang.html#DCL DCL command line in @concat @link http://www.openvms.compaq.com/ VMS . } @link LineInterpreter.py LineInterpreter { Framework for line-oriented command interpreters which use @tt DCLMatcher objects or dictionaries as command lookup tables. Doing exactly what I wanted was a little cumbersome using the @tt cmd module, so I reinvented the wheel. } @link htmltrans.py HTMLTrans { A filter for generating @link htmltransdemo.html { an HTML file } from @c @link htmltransdemo.asc { a plain text file } . } @link snakkd.tar.gz Snakkd { A minimal, non-forking, portable chat-server. GPLed. } @link nb.py nb { Simple program to jot small «notes-to-self» and similar. Needs @tt DCLMatcher and @concat @tt LineInterpreter . } @link geomyidae.py Geomyidae { Minimal Gopher server. } @link guidehtml.py GuideHTML { Generates HTML files from input files with a syntax vaguely reminding AmigaGuide or Lout. Needs @c @tt DCLMatcher . For instance this page and my home page are maintained using this system. Take a look at @link index.ghtml index.ghtml if you want to see an example source file. } @link outline.py Outline { Converts indented plain text outlines to Lout source. } @link irc_uninett { IRC library } { An IRC library I wrote while working for UNINETT in the summer of 2000. } @link morn.tar.gz { MornMorn } { A wiki based on a fork from @link http://sourcefrog.net/front/mbp/piki/ PikiPiki 1.62. Main differences is using document hashes to avoid overwriting other people's changes to a page and better handling of international characters in wiki names. PikiPiki is GPLed, therefore MornMorn is too. } @link htoutl.py HTOutl { Converts indented plain text outlines to HTML. } @link align.py align { Simple, little thingie. Usage is best described with an example: @br Given the file @tt test with the content @br @tt { a = opqrstu = 1 @br ab = vwxy = 2 @br abc = z = 3 } @br The command @tt { align = < test } will output: @br @tt { a   = opqrstu = 1 @br ab  = vwxy    = 2 @br abc = z       = 3 } @br The command line argument may be a single character, as here, or a string. @conc ( @tt align inserts space characters, non-breaking space is used here only for layout.) Tab characters are not handled in a proper way, use @tt expand and @tt unexpand or similar if you need that and want to use this program. } @link minimarkup.py minimarkup { Yet another attempt at generating HTML. A bit nicer than @link guidehtml.py GuideHTML I think. @conc @link minimarkup.html Documentation . } } @h 2 Disclaimer @p { This page consists mainly of programs I have written simply to get things done. The quality of both documentation, if any, and code varies extremely. Most of the material on this site carries @link license.html { a modified BSD license } where applicaple. } @p { Last updated @time "%Y-%m-%d." } @addr @link "mailto:sk@nvg.ntnu.no" { Steinar Knutsen }