Is there a module or library anyone knows of that will print html code
indented? What I'd like would be for a function or class which works
like this:
htmlIndent(sys.stdout, 'htmlheadfoobar/head...')
and will print somethinkg like this to stdout:
html
head
foobar
/head
...
My
Thanks. At a glance, that looks like it's what I'm looking for.
Lowell
TechBookReport wrote:
Lowell Kirsh wrote:
Is there a module or library anyone knows of that will print html code
indented? What I'd like would be for a function or class which works
like this:
htmlIndent(sys.stdout,
On 6/24/05, Lowell Kirsh [EMAIL PROTECTED] wrote:
Is there a module or library anyone knows of that will print html code
indented?
Depends on whether you have to deal with xhtml, valid html or just
any, possibly invalid, pseudo-html that abounds on the net.
Here's an example of (too) simple
Looks good. I'll give it a try.
Konstantin Veretennicov wrote:
On 6/24/05, Lowell Kirsh [EMAIL PROTECTED] wrote:
Is there a module or library anyone knows of that will print html code
indented?
Depends on whether you have to deal with xhtml, valid html or just
any, possibly invalid,