title: Python Zipfile writes full path to file
body: <p>I am making a zipfile in Python 3 like this:</p>
  
  <pre><code>zf = zipfile.ZipFile("/path/to/zipfile.zip", mode='w')
  try:
      zf.write("/path/to/original.file")
  finally:
      zf.close()
  </code></pre>
  
  <p>However, when I unzip it, I get this structure:</p>
  
  <pre><code>path
  └── to
      └── original.file
  </code></pre>
  
  <p>How can I resolve this?
  </p>