def _open(self, archive):
try:<EOL><INDENT>handle = unrarlib.RAROpenArchiveEx(ctypes.byref(archive))<EOL><DEDENT>except unrarlib.UnrarException:<EOL><INDENT>raise BadRarFile("<STR_LIT>")<EOL><DEDENT>return handle<EOL>
Open RAR archive file.