業務データのバックアップ、ログファイルのアーカイブ、あるいはWebからダウンロードした素材集。 私たちの日常業務には「ZIPファイル」があふれています。これらを毎回手作業で右クリックして「すべて展開」したり、解凍ソフトを立ち上げたりしてい ...
ちなみに、Pythonにはzipという関数があるが、実はこの関数は、ZIP圧縮と全く関係ない。Pythonのzip関数は異なるリストを1つに交互に結合するのに使う。それでは、Pythonでフォルダを圧縮するにはどうしたら良いだろうか。 結論から言うと、PythonでZIP圧縮する ...
Following up from last week's article on reading zip archives, we show you how you can create your own archives using Python. Following up from last week’s article on reading zip archives, we show you ...