Probably use Cheetah (or just string-interpolation) for display + Webware or custom middle layer, in Python or not. If your DB layer can do all of the heavy lifting, Python can be a good choice for the entire middle layer. IFF performance becomes an issue, recode chunks of it in C or another lang--Python makes that easy.