AttributeMeaning?__doc__The function’s documentation string, or None if unavailable; not inherited by subclassesWritable__name__The function’s nameWritable__qualname__The function’s qualified name New in version 3.3. Writable__module__The name of the m
壓縮f=zipfile.ZipFile(file, mode="r", compression=ZIP_STORED, allowZip64=False)python -m。創建一個zip文件對象,壓縮是需要把mode改為‘w’,這個是源碼中的注釋Open the ZIP file with mode read "r", write "w"