業務データのバックアップ、ログファイルのアーカイブ、あるいはWebからダウンロードした素材集。 私たちの日常業務には「ZIPファイル」があふれています。これらを毎回手作業で右クリックして「すべて展開」したり、解凍ソフトを立ち上げたりしてい ...
久しぶりにnote書きます。今年の目標書いて以来だ。。(汗) ノンプロ研というコミュニティで主にプログラミング等の勉強をしています。普段はPythonを使って業務自動化、データ加工とか、スクレイピングをやったりしています。 今回は、Pythonで普段の業務 ...
日々の業務で作成したデータをZIP圧縮して、USBメモリやHDDやSSDなどのストレージに保存している場面は意外と多いことだろう。とは言え、そのようにZIP圧縮して保存したデータをいざ全部解凍したいという事情ができた場合、どうしているだろうか。
ちなみに、Pythonにはzipという関数があるが、実はこの関数は、ZIP圧縮と全く関係ない。Pythonのzip関数は異なるリストを1つに交互に結合するのに使う。それでは、Pythonでフォルダを圧縮するにはどうしたら良いだろうか。 結論から言うと、PythonでZIP圧縮する ...
This library was implemented using logic from Python's zipfile library and Golang's archive/zip library.
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 ...
This project was primarily created using Cursor with LLMs. While it has been tested, please use it at your own risk. The code may contain unexpected behaviors or bugs. This project is a simple wrapper ...