[Tutor] StringIO

kakada hokkakada at khmeros.info
Tue May 23 05:12:30 CEST 2006


Hello list,

I want to use the module StringIO as read and write strings as files, I
looked into document but cannot understand.
Could anyone give me a simple example?

something like:
from StringIO import *
fin = StringIO("abc")
.....
How can I used fin?

Thanks,

da


More information about the Tutor mailing list