How do I capture output to a string? For example, the output of
os.system('whoami').

I guess I need to redirect stdout, but I'm a total beginner, and I
haven't been able to find out from the tutorials how to do this.

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

Reply via email to