Re: printing indented html code

2005-06-24 Thread Lowell Kirsh
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 in

Re: printing indented html code

2005-06-24 Thread Konstantin Veretennicov
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) simp

Re: printing indented html code

2005-06-24 Thread Lowell Kirsh
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(

Re: printing indented html code

2005-06-24 Thread TechBookReport
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, 'foobar...') > > and will print somethinkg like this to stdout: > > > > foobar >

printing indented html code

2005-06-24 Thread Lowell Kirsh
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, 'foobar...') and will print somethinkg like this to stdout: foobar ... My current way of doing this ki