Staging
v0.5.1
swh:1:snp:635f4099902912592851108bcac178ff574f7c5f
Raw File
Tip revision: 71606f8dd950604620efb37b86e81ee03f9d232b authored by cvs2svn on 15 May 1997, 12:24:53 UTC
This commit was manufactured by cvs2svn to create tag 'r15a2'.
Tip revision: 71606f8
libstrio.tex
\section{Standard Module \sectcode{StringIO}}

\stmodindex{StringIO}

This module implements a file-like class, \code{StringIO},
that reads and writes a string buffer (also known as {\em memory
files}). See the description on file objects for operations.

When a \code{StringIO} object is created, it can be initialized
to an existing string by passing the string to the constructor.
If no string is given, the \code{StringIO} will start empty.

The method \code{getvalue()} can be called to retrieve the
entire contents of the ``file'' at any time.
back to top