On Dec 27, 10:12 pm, John Machin <[EMAIL PROTECTED]> wrote:

> Check out the seek method.

Ah yes... thank you:

>>> import tempfile
>>> x = tempfile.TemporaryFile()
>>> x.write("test")
>>> print x.read()

>>> x.seek(0)
>>> print x.read()
test


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to