title: Find exact match with find method
body: <p>In this block of code, i unzip a file to search for one specific file called node.txt but if i have more files named as node.txt.old or node.txt.new it shows up on the search. </p>
  
  <p>So, in short, how could i limit the <code>loop_package.find("node.txt")</code> to only match the exact file?</p>
  
  <pre><code>import zipfile
  import re
  
  ziproot = zipfile.ZipFile('c:\\zips\somezip.zip')
  node_list = []
  for loop_package in ziproot.namelist():
      if loop_package.find("node.txt"):
          for line in ziproot.read(loop_package).split("\n"):
              if line.find("doc-node") &gt;= 0:
                  node_dict = dict()
                  for iline in ziproot.read(loop_package).split("\n"):
                      if iline.find("node_nsName") &gt;= 0:
                          mt = re.search(r'(.*&gt;)(.*?)(&lt;.*)', iline, re.M | re.I)
                          node_dict['filePath'] = loop_package
                          node_dict['nodeCon'] = mt.group(2)
                          node_list.append(node_dict)
                      else:
                          pass
              else:
                  pass
      else:
          pass
  </code></pre>
  
  <p>Thanks in advance.</p>