code: def untar(fname, extract_dir):
      if fname.endswith("tar.gz") or fname.endswith("tgz"):
          tar = tarfile.open(fname)
          tar.extractall(extract_dir)
          tar.close()
          print("File Extracted")
      else:
          print("Not a tar.gz/tgz file: '%s '" % sys.argv[0])
  
file_path: tflearn/tflearn/datasets/oxflower17.py
imports: from __future__ import absolute_import, print_function
  import os
  import sys
  from six.moves import urllib
  import tarfile
  import numpy
  import pickle
  from ..data_utils import *
label_desc: Use image node_id 5 for calling a global function with example usage: untar(fname, extract_dir) without return types