What Is The Best Python Zip Module To Handle Large Files?
问题 EDIT: Specifically compression and extraction speeds. Any Suggestions? Thanks 回答1: So I made a random-ish large zipfile: $ ls -l *zip -rw-r--r-- 1 aleax 5000 115749854 Nov 18 19:16 large.zip $ unzip -l large.zip | wc 23396 93633 2254735 i.e., 116 MB with 23.4K files in it, and timed things: $ time unzip -d /tmp large.zip >/dev/null real 0m14.702s user 0m2.586s sys 0m5.408s this is the system-supplied commandline unzip binary -- no doubt as finely-tuned and optimized as a pure C executable can