In memory File

Erik Max Francis max at alcyone.com
Sat Apr 5 04:27:51 EST 2003


Salvatore wrote:

> How can I create file-like objects ?
> I want to work in memory only.

You want the StringIO module.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ The graveyards are full of indispensible men.
\__/ Charles de Gaulle
    Fauxident / http://www.alcyone.com/pyos/fauxident/
 A "faux" ident daemon in Python.




More information about the Python-list mailing list