[Tutor] Tutor Digest, Vol 54, Issue 43

Lie Ryan lie.1296 at gmail.com
Wed Aug 13 12:06:03 CEST 2008


> Message: 3
> Date: Tue, 12 Aug 2008 07:40:40 -0500 (CDT)
> From: "Paul Tader" <ptader at linuxscope.com>
> Subject: [Tutor] Easiest way to display HTML
> To: tutor at python.org
> Message-ID:
>         <49655.24.15.234.107.1218544840.squirrel at mail.linuxscope.com>
> Content-Type: text/plain;charset=iso-8859-1
> 
> I have a collection of python scripts that are written to be run from
> the
> command prompt.  I now want to write the output (tables mostly) to a
> webpage using cron or as a cgi script.  I've read about most web
> frameworks out there but many seem to be more than what I'm looking
> for. 
> The closest I've seen is HTMLgen, but that project seems to be very
> quiet.
> 
> In short, what would you use to quickly mark up your scripts simple
> output?
> 
> Thanks,
> ptader

You know, the reason why text-based format is great is because you don't
need any complication if you don't want to, web frameworks, templating
system, HTMLgen are great for complex pages where every single thing
seems so complex, but writing to a file (or redirecting stdout to a
file, then do a print) is sufficient for many simple applications.



More information about the Tutor mailing list