zipfile.ZipFile.extract

ZipFile.extract(member, path=None, pwd=None)[source]

Extract a member from the archive to the current working directory, using its full name. Its file information is extracted as accurately as possible. `member’ may be a filename or a ZipInfo object. You can specify a different directory using `path’.