> >>> import cStringIO
> >>> s = cStringIO.StringIO()
> >>> print >>s, [1, 2, 1.0/5, 'hello world']
> >>> s.getvalue()

Thanks--this works perfectly!

-_Steve

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

Reply via email to