set_comment.py 312 B

123456789101112131415161718192021222324
  1. import zipfly
  2. import os
  3. paths = [
  4. {
  5. 'fs': 'home/user/Videos/jupiter.mp4',
  6. 'n': 'movies/jupiter.mp4',
  7. },
  8. ]
  9. zfly = zipfly.ZipFly( paths=paths )
  10. # set a comment
  11. # IMPORTANT: set a comment before than buffer_prediction_size()
  12. zfly.set_comment("Isaac Newton 1234")