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'.
(self, member, path=None, pwd=None)
| 1671 | return _ZipWriteFile(self, zinfo, zip64) |
| 1672 | |
| 1673 | def extract(self, member, path=None, pwd=None): |
| 1674 | """Extract a member from the archive to the current working directory, |
| 1675 | using its full name. Its file information is extracted as accurately |
| 1676 | as possible. `member' may be a filename or a ZipInfo object. You can |
| 1677 | specify a different directory using `path'. |
| 1678 | """ |
| 1679 | if path is None: |
| 1680 | path = os.getcwd() |
| 1681 | else: |
| 1682 | path = os.fspath(path) |
| 1683 | |
| 1684 | return self._extract_member(member, path, pwd) |
| 1685 | |
| 1686 | def extractall(self, path=None, members=None, pwd=None): |
| 1687 | """Extract all members from the archive to the current working |
nothing calls this directly
no test coverage detected