Assigning output from a simple python statement

Fredrik Lundh effbot at telia.com
Thu Mar 16 16:59:42 CET 2000


Michael Hudson wrote:

>     sio.seek(0)
>     return sio.read()

footnote: "return sio.getvalue()" is slightly more efficient.

</F>





More information about the Python-list mailing list