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):
[color=blue][color=green][color=darkred]
>>> iin , iiout = popen2("tidy.ex e -asxml")
>>> iin.write(str)
>>> iin.close()
>>> iiout.read()[/color][/color][/color]
''
I am using windows and tried the standard pipe and win32pipe as well.
Doug
empty string if i pass a large html file to tidy):
[color=blue][color=green][color=darkred]
>>> iin , iiout = popen2("tidy.ex e -asxml")
>>> iin.write(str)
>>> iin.close()
>>> iiout.read()[/color][/color][/color]
''
I am using windows and tried the standard pipe and win32pipe as well.
Doug
Comment