Python logo

前のトピックへ

sqlite3 --- SQLite データベース用の DB-API 2.0 インターフェース

次のトピックへ

zlib --- gzip 互換の圧縮

This page

  • Report a bug
  • Show source
  • Show translation source

ナビゲーション

  • 索引
  • モジュール |
  • 次へ |
  • 前へ |
  • Python logo
  • Python »
  • 3.13.11 Documentation »
  • Python 標準ライブラリ »
  • データ圧縮とアーカイブ
  • |
  • |

データ圧縮とアーカイブ¶

The modules described in this chapter support data compression with the zlib, gzip, bzip2 and lzma algorithms, and the creation of ZIP- and tar-format archives. See also アーカイブ化操作 provided by the shutil module.

  • zlib --- gzip 互換の圧縮
  • gzip --- gzip ファイルのサポート
    • 使い方の例
    • Command-line interface
      • Command-line options
  • bz2 --- bzip2 圧縮のサポート
    • ファイルの圧縮/解凍
    • 逐次圧縮および展開
    • 一括圧縮/解凍
    • 使い方の例
  • lzma --- LZMA アルゴリズムを使用した圧縮
    • 圧縮ファイルへの読み書き
    • メモリ上での圧縮と展開
    • その他
    • カスタムフィルタチェインの指定
    • 使用例
  • zipfile --- ZIP アーカイブの処理
    • ZipFile objects
    • Path objects
    • PyZipFile objects
    • ZipInfo objects
    • Command-line interface
      • コマンドラインオプション
    • Decompression pitfalls
      • From file itself
      • File system limitations
      • Resources limitations
      • Interruption
      • Default behaviors of extraction
  • tarfile --- tar アーカイブファイルの読み書き
    • TarFile オブジェクト
    • TarInfo オブジェクト
    • Extraction filters
      • Default named filters
      • Filter errors
      • Hints for further verification
      • Supporting older Python versions
      • Stateful extraction filter example
    • コマンドラインインターフェイス
      • コマンドラインオプション
    • 使用例
      • Reading examples
      • Writing examples
    • サポートしている tar フォーマット
    • Unicode に関する問題

前のトピックへ

sqlite3 --- SQLite データベース用の DB-API 2.0 インターフェース

次のトピックへ

zlib --- gzip 互換の圧縮

This page

  • Report a bug
  • Show source
  • Show translation source
«

ナビゲーション

  • 索引
  • モジュール |
  • 次へ |
  • 前へ |
  • Python logo
  • Python »
  • 3.13.11 Documentation »
  • Python 標準ライブラリ »
  • データ圧縮とアーカイブ
  • |
  • |
© Copyright 2001-2025, Python Software Foundation.
このページはPython Software Foundation License Version 2でライセンスされています。
ドキュメント内のサンプル、レシピ等のコードは、Zero Clause BSDライセンスの下で追加的にライセンスされています。
詳しくは歴史とライセンスを参照してください。

Pythonソフトウェア財団は非営利法人です。 寄付をするには

最終更新日: 12月 14, 2025 (08:22 UTC) バグを報告する
Sphinx9.0.4を使って構築されています。