On Apr 24, 2012 6:32 PM, "S.B" wrote:
>
> Hello friends.
>
> Newb question here.
> I'm trying to find an efficient way to "grep" a file with python.
> The problem is that all the solutions I find on the web read a line at a
time from the file with a "for line in" loop and check each line for the R
"S.B" writes:
> Hello friends.
>
> Newb question here.
> I'm trying to find an efficient way to "grep" a file with python.
> The problem is that all the solutions I find on the web read a line
> at a time from the file with a "for line in" loop and check each
> line for the RE instead of sweeping