In memory File

Salvatore salvatore at wanadoo.fr
Sat Apr 5 05:03:16 EST 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