extract_archive๏ƒ

class dgl.data.utils.extract_archive(file, target_dir, overwrite=True)[source]๏ƒ

Bases:

Extract archive file.

Parameters:
  • file (str) โ€“ Absolute path of the archive file.

  • target_dir (str) โ€“ Target directory of the archive to be uncompressed.

  • overwrite (bool, default True) โ€“ Whether to overwrite the contents inside the directory. By default always overwrites.