else/WebstreamZip/tester.py

7 lines
154 B
Python
Raw Normal View History

2016-11-08 04:48:43 +00:00
import webstreamzip
g = webstreamzip.stream_zip({'C:\\git\\else\\readme.md':'michael.md'})
x = open('test.zip', 'wb')
for chunk in g:
x.write(chunk)