title: Python: Unzip a file to current working directory but not maintain directory structure in zip
body: <p>I have a zip file like this:</p>
  
  <pre><code>myArchive.zip
  |
  -folder1
     |
     --folder2
          |
          ---myimage.jpg
  </code></pre>
  
  <p>When I try to extract <strong>myimage.jpg</strong>:</p>
  
  <pre><code>with zipfile.ZipFile('myArchive.zip', 'r') as zfile:
     zfile.extract('folder1/folder2/myimage.jpg')
  </code></pre>
  
  <p>I will get <strong>/folder1/folder2/myimage.jpg</strong> in my currently working directory</p>
  
  <p>But I just want <strong>myimage.jpg</strong> to be extracted to currently working directory, how can I do it?</p>