Pythonは標準でもかなり多くのライブラリを備えている。今回は標準ライブラリの中でも普段から使って便利な圧縮解凍パッケージのzipfileを使ってみよう。Pythonを使えばZIPファイルが100個あったとしても数行のプログラムを書くだけで全部解凍できる。
日々の業務で作成したデータをZIP圧縮して、USBメモリやHDDやSSDなどのストレージに保存している場面は意外と多いことだろう。とは言え、そのようにZIP圧縮して保存したデータをいざ全部解凍したいという事情ができた場合、どうしているだろうか。
PyScript lets you run Python scripts right in the browser, side by side with JavaScript, with two-way interaction between your code and the web page. Created by Anaconda and launched in April 2022, ...
Python 3.8.2 is installed on Pop!_OS Linux. How to create and run a Python app Your email has been sent Interested in learning Python? Jack Wallen takes you through your first steps in building a ...