title: How to import pre-downloaded MNIST dataset from a specific directory or folder?
body: <p>I have downloaded the MNIST dataset from LeCun site. What I want is to write the Python code in order to extract the gzip and read the dataset directly from the directory, meaning that I don't have to download or access to the MNIST site anymore. </p>
  
  <p><strong>Desire process:</strong>
  Access folder/directory --> extract gzip --> read dataset (one hot encoding)</p>
  
  <p>How to do it? Since almost all tutorials have to access to the either the LeCun or Tensoflow site to download and read the dataset. Thanks in advance!</p>