Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Read specific files from archive into memory.
If "condition" is a list of numbers, then return files which have those positions in infolist.
If "condition" is a string, then it is treated as a wildcard for names of files to extract.
If "condition" is a function, it is treated as a callback function, which accepts a RarInfo object
    and returns boolean True (extract) or False (skip).
If "condition" is omitted, all files are returned.

Returns list of tuples (RarInfo info, str contents)

src/l/i/litebook-HEAD/litebook.py   litebook(Download)
            try:
                rfile=UnRAR2.RarFile(zipfilepath)
                buff=rfile.read_files(filepath)
            except Exception as inst:
                dlg = wx.MessageDialog(None, zipfilepath+u' 文件打开错误!',u"错误!",wx.OK|wx.ICON_ERROR)
                                        return False
                                    try:
                                        file_handler=rfile.read_files(eachfile)
                                    except:
                                        dlg = wx.MessageDialog(self, eachfile+u' 文件打开错误!',u"错误!",wx.OK|wx.ICON_ERROR)