grains.utils.decompress

grains.utils.decompress(filename, path=None)[source]

Decompresses the contents of a zip archive into the current directory.

Parameters
  • filename (str) – Name of the zip archive.

  • path (str, optional) – Directory to extract to. The default is the directory the function is called from.

See also

zipfile.ZipFile