# Extract a shapefile from a gzipped tar archive

# https://github.com/GeospatialPython/Learning/raw/master/hancock.zip

import tarfile
tar = tarfile.open("hancock.tar.gz", "r:gz")
tar.extractall()
tar.close()

f9e80375b17cb3704b8ed808e9d91f47e84dfd78
<mask token>

<mask token>
tar.extractall()
tar.close()

<mask token>
tar = tarfile.open('hancock.tar.gz', 'r:gz')
tar.extractall()
tar.close()

import tarfile
tar = tarfile.open('hancock.tar.gz', 'r:gz')
tar.extractall()
tar.close()

# Extract a shapefile from a gzipped tar archive

# https://github.com/GeospatialPython/Learning/raw/master/hancock.zip

import tarfile
tar = tarfile.open("hancock.tar.gz", "r:gz")
tar.extractall()
tar.close()
