>
>  Still, about StringIO...
>

The module description says you can use it to read and write strings
as files, not that you can use strings *everywhere* you can use files.

In your specific case, StringIO doesn't work, because the stdout
redirection takes place at the operating system level (which uses real
file handles), rather than in a python library (for which StringIO
would probably work).

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

Reply via email to