droidziprar.py
def extract_pattern(self, outdir, pattern):
        """Unzips (or unrars) files matching a given regexp to a given output directory.
        Returns a list of what has been unzipped.
        """
        assert self.handle != None, "zip/rar file handle has been closed"
        all_files = self.handle.namelist()
        list = [x for x in all_files if re.search(pattern, x)]
        
        for file in list:
            self.extract_one_file(file, outdir)

        return list
Unzips (or unrars) files matching a given regexp to a given output directory.
        Returns a list of what has been unzipped.
        
Unzips (or unrars) files matching a given regexp to a given output directory.
Returns a list of what has been unzipped.
Unzips ( or unrars ) files matching a given regexp to a given output directory . Returns a list of what has been unzipped .
def extract_pattern(self, outdir, pattern):
        assert self.handle != None, "zip/rar file handle has been closed"
        all_files = self.handle.namelist()
        list = [x for x in all_files if re.search(pattern, x)]
        for file in list:
            self.extract_one_file(file, outdir)
        return list
def extract_pattern ( self , outdir , pattern ) : assert self . handle != None , "zip/rar file handle has been closed" all_files = self . handle . namelist ( ) list = [ x for x in all_files if re . search ( pattern , x ) ] for file in list : self . extract_one_file ( file , outdir ) return list
Unzips (or unrars) files matching a given regexp to a given output directory.
Unzips ( or unrars ) files matching a given regexp to a given output directory .
"""Unzips (or unrars) files matching a given regexp to a given output directory.
        Returns a list of what has been unzipped.
        """
self
outdir
pattern