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
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to