MCPcopy Index your code
hub / github.com/python/cpython / namelist

Method namelist

Lib/zipfile/__init__.py:1608–1610  ·  view source on GitHub ↗

Return a list of file names in the archive.

(self)

Source from the content-addressed store, hash-verified

1606 end_offset = zinfo.header_offset
1607
1608 def namelist(self):
1609 """Return a list of file names in the archive."""
1610 return [data.filename for data in self.filelist]
1611
1612 def infolist(self):
1613 """Return a list of class ZipInfo instances for files in the

Calls

no outgoing calls