7 lines
No EOL
154 B
Python
7 lines
No EOL
154 B
Python
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) |