On 10/15/2014 2:39 PM, Shiva wrote:
Hi,

I am trying to search a string through files in a directory - however while
Python script works on it and writes a log - I want to present the user with
count of number of strings found. So it should increment for each string found.

How do I implement it?

n=0 before the look and
n += 1 withing the loop

--
Terry Jan Reedy

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to