# :mod:modulegraph.zipio --- Read-only filesystem access

This module contains a number of functions that mirror functions found in :mod:os and :mod:os.path, but have support for data inside zipfiles as well as regular filesystem objects.

The path argument of all functions below can refer to an object on the filesystem, but can also refer to an entry inside a zipfile. In the latter case, a prefix of path will be the name of zipfile while the rest refers to an object in that zipfile. As an example, when somepath/mydata.zip is a zipfile the path somepath/mydata.zip/somefile.txt will refer to somefile.txt inside the zipfile.