title: Load json file from within a zip archive
body: <p>Hi I want work on the last file in a zip archive.</p>
  <pre class="lang-py prettyprint-override"><code>from zipfile import ZipFile 
  from natsort import natsorted
  
  with ZipFile('1.zip', 'r') as zipObj:
    abc = zipObj.namelist()
    abc =  natsorted(abc, key = str.lower) 
    a22 = abc[-1]  
  a22
  </code></pre>
  <p>I got:  <code>&quot;5550.json&quot;</code></p>
  <p>(btw I work only on numeric json from 1 to 5000-10000)</p>
  <p>I created this code to get the last file in the zip archive, but when I try</p>
  <pre class="lang-py prettyprint-override"><code>f = open(a22)
  data = json.load(f) 
  data 
  </code></pre>
  <p>but it's different path. Is there another method to get the contents of this json file?</p>