[egenix-users] does mx.Tidy not accept StringIO as outputstream?

M.-A. Lemburg mal at lemburg.com
Mon Jan 6 14:49:28 CET 2003


Thomas Werschlein wrote:
> Hello
> 
> I try to use a StringIO stream as tidy output stream, but always get
> the following error:
> "outputstream must be a file object or None"
> 
> Just to be sure it's not me: is mx.Tidy.tidy() expecting a _real_ file
> no matter what?

Right. The reason is that tidy itself needs a real FILE*.

-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
_______________________________________________________________________
eGenix.com -- Makers of the Python mx Extensions: mxDateTime,mxODBC,...
Python Consulting:                               http://www.egenix.com/
Python Software:                    http://www.egenix.com/files/python/



More information about the egenix-users mailing list