Ignoring incorrect XML encoding declarations

Jeremy Yallop jeremy at jdyallop.freeserve.co.uk
Thu Jan 16 12:23:43 CET 2003


* Peter Scott
| Forgive my newbiehood, but is it possible to wrap a string in a 
| file-like object?

Yes.  Look at the StringIO and cStringIO modules.

Jeremy.




More information about the Python-list mailing list