Report question

Question: how to get output of grep command (Python)