title: Extract from directory inside zip file
body: <p>My existing code (a section) is loacted at the bottom of this post.</p>
  
  <p>What I would like to do is extract all of the files from a directory <em>inside</em> of a zip file. Not the whole contents of a zip file, just the files in a directory (<code>/theme_files/</code>) that's inside of a zip. I have already imported the neccesary libraries.</p>
  
  <p>Extract the files from <code>[filename].tpk/theme_files</code> into <code>./workspace/[output]/</code></p>
  
  <p>(<code>.tpk</code> = <code>.zip</code>)</p>
  
  <pre><code>theme_zip = zipfile.ZipFile(current_dir + "/themes/" + theme_name + ".tpk", 'r')
  theme_zip.extractall(output_dir)
  theme_zip.close()
  </code></pre>