droidziprar.py
def extract_one_file(self, filename, outdir):
        """Extracts from a ZIP or a RAR
        - file: file to extract
        - outdir: directory to extract to
        Will use a password if necessary
        """
        if self.zipmode:
            # the unzip command works better... (manages to unzip more)
            subprocess.call([ "/usr/bin/unzip" , "-o", "-qq", "-P", self.password, "-d", outdir, self.archive_name, filename])
        else:
            assert self.handle != None, "zip/rar file handle has been closed"
            # beware this may raise errors KeyError, RuntimeError...
            self.handle.extract(filename, outdir, pwd=self.password)
Extracts from a ZIP or a RAR
        - file: file to extract
        - outdir: directory to extract to
        Will use a password if necessary
        
Extracts from a ZIP or a RAR
file: file to extract
outdir: directory to extract to
Will use a password if necessary
Extracts from a ZIP or a RAR file : file to extract outdir : directory to extract to Will use a password if necessary
def extract_one_file(self, filename, outdir):
        if self.zipmode:
            subprocess.call([ "/usr/bin/unzip" , "-o", "-qq", "-P", self.password, "-d", outdir, self.archive_name, filename])
        else:
            assert self.handle != None, "zip/rar file handle has been closed"
            self.handle.extract(filename, outdir, pwd=self.password)
def extract_one_file ( self , filename , outdir ) : if self . zipmode : subprocess . call ( [ "/usr/bin/unzip" , "-o" , "-qq" , "-P" , self . password , "-d" , outdir , self . archive_name , filename ] ) else : assert self . handle != None , "zip/rar file handle has been closed" self . handle . extract ( filename , outdir , pwd = self . password )
Extracts from a ZIP or a RAR
 file: file to extract
 outdir: directory to extract to
Will use a password if necessary
Extracts from a ZIP or a RAR file : file to extract outdir : directory to extract to Will use a password if necessary
"""Extracts from a ZIP or a RAR
        - file: file to extract
        - outdir: directory to extract to
        Will use a password if necessary
        """ # the unzip command works better... (manages to unzip more) # beware this may raise errors KeyError, RuntimeError...
self
filename
outdir