Being new to python, I have two files populated as such in a directory called test-caca in which I would like to loop through each of these files, searching for an ip address using a regular express and print out only the line and file that contains the desired data:

```
cat file9
192.168.3.11
192.168.1.1
10.255.3.1
10.7.0.145

cat file8
192.168.3.1
192.168.3.2
192.168.1.1
10.255.3.1

```

So far I have this:

```
for subdir, dirs, files in os.walk('.'):
     for file in files:
       regexp = re.findall(r"10.7.0.145", open(file, "r").read())
       print " I found what I was looking for %s = %s" % (file,regexp)
 ....:         
I found what I was looking for file3 = []
I found what I was looking for file6 = []
I found what I was looking for file7 = []
I found what I was looking for file1 = []
I found what I was looking for file9 = ['10.7.0.145']
I found what I was looking for file5 = []
I found what I was looking for file8 = [] 
I found what I was looking for file10 = []   
I found what I was looking for file2 = []
I found what I was looking for file4 = []

```

How can I print just the line that contains what the regular expression found(ip address) like:

```
I found what I was looking for file9 = 10.7.0.145

```

and without the brackets ?