In memory File

Salvatore salvatore at
Sat Apr 5 12:03:16 CEST 2003

Erik Max Francis wrote:

> Salvatore wrote:
>>How can I create file-like objects ?
>>I want to work in memory only.
> You want the StringIO module.
Thanks Max,

I wanted to redirect sys.stdout to StringIO object but il doesn't seem
to work

More information about the Python-list mailing list