title: Ziping files with python. Windows cant unzip
body: <p>I have this ziping script in python :</p>
  
  <pre><code> def zipdir(self,path, ziph):
          # ziph is zipfile handle
          paths = os.listdir(path)
          for p in paths:
              p = os.path.join(path, p)  # Make the path relative
              if os.path.isfile(p):  # Recursive case
                  ziph.write(p)  # Write the file to the zipfile
  
  
  
      #needs to be closed after use
      def createZipHandler(self,name):
          zipf = zipfile.ZipFile(name+'.zip', 'w')
          return zipf
  </code></pre>
  
  <p>The Plan is to call this class and create a zip which should be opened on windows maschines. When running this script on windows everything work fine. zip created and accessable. 
  But when calling this in my code on a raspberry I cant open the zip on my windows maschine.</p>
  
  <p>Does anybody know why? </p>