> If you want to use file primitives to read the value back, just create > another one: > > inpt = StringIO.StringIO(firstStringIO.getvalue()) > > then you can read the printed output from inpt just like a file. Or even: firstStringIO.seek(0) - Josiah