Pipe problem

John J. Lee jjl at pobox.com
Tue Sep 16 15:11:56 EDT 2003


Albert Hofkamp <hat at se-126.se.wtb.tue.nl> writes:

> On Sat, 13 Sep 2003 16:34:13 GMT, Doug <no.email.you.must.phone.me at fu.bar.ws> wrote:
> > This works with a small string, but not a large one (read returns an 
> > empty string if i pass a large html file to tidy):
> > 
> > 
> > >>> iin , iiout = popen2("tidy.exe -asxml")
> > >>> iin.write(str)
> > >>> iin.close()
> > >>> iiout.read()
[...]

Didn't see the OP, but (guessing tidy.exe is HTMLTidy): do you know
about mxTidy and uTidylib?


John




More information about the Python-list mailing list