cStringIO.StringIO has no write method?

Laszlo Nagy gandalf at designaproduct.biz
Tue Jul 25 16:38:31 EDT 2006


> from cStringIO documentation:
>
>
>      Another difference from the StringIO module is that calling
>      StringIO() with a string parameter creates a read-only object.
>      Unlike an object created without a string parameter, it does
>      not have write methods.
>   
Looks like I did not read the manual carefully, overlooked/misunderstood 
this and posted too early.
I'm sorry!


Laszlo




More information about the Python-list mailing list