Using python how can I make this happen?
python_shell$> print myPhone.print_call_log() | grep 555
The only thing close that I've seen is using "ipython console", assigning output to a variable, and then using a .grep() function on that variable. This is not really what I'm after. I want pipes and grepping on anything in the output (including errors/info).