code: def _extract_tar(filename, dest):
      print("extracting to {}".format(dest))
      if not os.path.exists(dest):
          try:
              os.makedirs(dest)
          except OSError as e:
              if e.errno != errno.EEXIST:
                  raise
      f = tarfile.open(filename)
      f.extractall(dest)
  
file_path: DALI/docs/examples/use_cases/paddle/tsm/utils.py
imports: import errno
  import os
  import shutil
  import sys
  import tarfile
  import tempfile
  import paddle
label_desc: Use image node_id 1 for calling a global function with example usage: _extract_tar(filename, dest) without return types