Using re to perform grep functionality in Python

Michael Torrie torriem at
Wed Mar 1 19:13:18 EST 2017

On 03/01/2017 02:55 PM, robert at wrote:
> Obviously, not what I want. Can anyone feed some input?

You've already got some good answers, but I just wanted to point you at
this good resource:

Pretty much anything you do in a shell script that involves piping
through filters you can do in Python with flexible generator functions.
It's pretty neat.

More information about the Python-list mailing list