Report question

Question: How to capture Python interpreter's and/or CMD.EXE's output from a Python script?