per page, with , order by , clip by
Results of 1 - 10 of about 26 for zipfile (0.007 sec.)
zipfile --- ZIP アーカイブの処理 16398
zipfile --- ZIP アーカイブの処理 Source code: Lib/zipfile/ ZIP は一般によく知られているアーカイブ (書庫化) および圧縮の標準ファイルフォーマットです。このモジュールでは ZIP 形式のファイルの作成、読み書き、追記、書庫内のファイル一覧の作成を行 ... 配布する立場の場合は オプションのモジュールの要件 を参照してください。 このモジュールは以下の項目を定義しています: exception zipfile. BadZipFile 正常ではない ZIP ファイルに対して送出されるエラーです。 Added in version 3.2. exception zipfile. BadZipfile Ba ... dZipFile の別名です。過去のバージョンの Python との互換性のために用意されています。 バージョン 3.2 で非推奨. exception zipfile. Lar ... geZipFile ZIP ファイルが ZIP64 の機能を必要としているが、その機能が有効化されていない場合に送出されるエラーです。 class zipfile. Zip ...
https://man.mtool.work/python/3.14/library/zipfile.html
データ圧縮とアーカイブ 8612
データ圧縮とアーカイブ この章のモジュールは、zlib、gzip、bzip2、lzma、zstd アルゴリズムによるデータ圧縮と、ZIP 形式・tar 形式のアーカイブ作成をサポートします。 shutil モジュールが提供する アーカイブ化操作 も参照してください。 compression パ ... アルゴリズムを使用した圧縮 圧縮ファイルへの読み書き メモリ上での圧縮と展開 その他 カスタムフィルタチェインの指定 定数 使用例 zipfile --- ZIP アーカイブの処理 ZipFile オブジェクト Path オブジェクト PyZipFile オブジェクト ZipInfo オブジェクト コマンドライン ...
https://man.mtool.work/python/3.14/library/archiving.html
11. 標準ライブラリをひとめぐり --- その II 8546
11. 標準ライブラリをひとめぐり --- その II ツアーの第2部では、プロフェッショナルプログラミングを支えるもっと高度なモジュールをカバーします。ここで挙げるモジュールは、小さなスクリプトの開発ではほとんど使いません。 11.1. 出力のフォーマット re ... モジュールでは、様々な長さのバイナリレコード形式を操作する pack() や unpack() といった関数を提供しています。 以下の例では、 zipfile モジュールを使わずに、ZIP ファイルのヘッダ情報を巡回する方法を示しています。 "H" と "I" というパック符号は、それぞれ2バイト ... reading でメインのプログラムを動かしながら背後で別のタスクを動作させられるようにする方法を示しています: import threading , zipfile class AsyncZip ( threading . Thread ): def __init__ ( self , infile , outfile ): super () . __init__ () self . infile = in ... file self . outfile = outfile def run ( self ): with zipfile . ZipFile ( self . outfile , 'w' , zipfile . ZIP_DEFLATED ) as f : f . write ( self . infile ) print ( 'Finished backgroun ...
https://man.mtool.work/python/3.14/tutorial/stdlib2.html
モジュールのコマンドラインインターフェース (CLI) 8364
モジュールのコマンドラインインターフェース (CLI) 以下のモジュールにはコマンドラインインターフェースがあります。 ast asyncio base64 calendar code compileall cProfile : see profile dis doctest encodings.rot_13 ensurepip filecmp fileinput ftpl ... ite sqlite3 symtable sysconfig tabnanny tarfile this timeit tokenize trace turtledemo unittest uuid venv webbrowser zipapp zipfile Python コマンドラインインターフェース も参照してください。 他のマニュアルの関連ページ Linux JM sprof(1) PHP imagick.profil ...
https://man.mtool.work/python/3.14/library/cmdline.html
What's New In Python 3.6 8315
What's New In Python 3.6 エディタ : Elvis Pranskevichus < elvis @ magic . io >, Yury Selivanov < yury @ magic . io > この記事では 3.5 と比較した Python 3.6 の新機能を解説します。 Python 3.6 は2016年12月23日にリリースされました。 全詳細につい ... 実装が数値や None に使う追加のデータ型のアンマーシャリングに対応しました。 (Contributed by Serhiy Storchaka in bpo-26885 .) zipfile 新しいクラスメソッド ZipInfo.from_file() を使うと、ファイルシステム上のファイルから ZipInfo インスタンスを作成できます。 新 ... ソッドでは、 ZipInfo インスタンスがディレクトリを表すかどうかを確認できます。 (Contributed by Thomas Kluyver in bpo-26039 .) ZipFile.open() メソッドを、ZIP ファイルからのデータの取り出しだけでなく、データの書き込みにも使えるようになりました。 (Contributed ... nuBar() と tk_bindForTraversal() のダミーメソッドが削除されました (対応する Tk コマンドは Tk 4.0 から廃止されていました)。 zipfile.ZipFile クラスの open() メソッドが 'U' モードをサポートしなくなりました (Python 3.4 から非推奨でした)。 圧縮されたテキスト ...
https://man.mtool.work/python/3.14/whatsnew/3.6.html
変更履歴 8249
変更履歴 次の Python バージョン リリース日: XXXX-XX-XX セキュリティ gh-160499 : Fix unbounded memory growth in asyncio TLS connections when a peer stops reading but keeps sending records that make OpenSSL generate its own replies (such as T ... when it is written inside the directory being archived or a symbolic link in that directory refers to it. gh-161094 : Fix zipfile.is_zipfile() raising ValueError instead of returning False for a file-like object, such as io.BytesIO , whose end of centr ... : Avoid a crash when a queue.SimpleQueue subclass finalizer adds an item after construction fails. gh-100609 : str() of a zipfile.Path whose underlying zipfile has no filename, such as one constructed from an io.BytesIO , now renders that filename as : ... zipfile: instead of raising TypeError . The root of a zipfile is also no longer rendered with a trailing slash. Synchronized with zipp 3.23.1. gh-159864 : Fix a crash in syslog.openlog ...
https://man.mtool.work/python/3.14/whatsnew/changelog.html
Python ドキュメントの目次 8199
Python ドキュメントの目次 What's New in Python What's new in Python 3.14 概要 -- リリースハイライト 新しい機能 PEP 649 と PEP 749 : アノテーションの遅延評価 PEP 734 : 複数インタープリタ機能が標準ライブラリに追加 PEP 750 : テンプレート文字列 ... ble sys sys.monitoring sysconfig tarfile threading tkinter turtle types typing unicodedata unittest urllib uuid webbrowser zipfile 最適化 asyncio base64 bdb difflib gc io pathlib pdb textwrap uuid zlib 削除 argparse ast asyncio email importlib.abc itert ... il socket sqlite3 string sys sysconfig tempfile threading time tkinter traceback typing unicodedata unittest venv warnings zipfile 最適化 Faster CPython 起動の高速化 凍結インポート / 静的コードオブジェクト 実行の高速化 低コストで必要時に生成する Python ... nter tracemalloc types unicodedata unittest unittest.mock urllib.parse uu uuid warnings xml xml.etree xmlrpc.server zipapp zipfile C API の変更 ビルドの変更 最適化 その他の CPython の実装の変更 非推奨の Python の挙動 非推奨の Python モジュール、関数、メ ...
https://man.mtool.work/python/3.14/contents.html
zipapp --- 実行可能な Python zip アーカイブを管理する 8133
zipapp --- 実行可能な Python zip アーカイブを管理する Added in version 3.5. ソースコード: Lib/zipapp.py このモジュールは Python コードを含む zip ファイルの作成を行うツールを提供します。 zip ファイルは Python インタープリタで直接実行すること ... ) 、書き込み先なら write() メソッドだけです。 ディレクトリからアーカイブを作成する場合、 target がファイルオブジェクトなら zipfile.ZipFile クラスに渡されるため、そのクラスが必要とするメソッドを備えていなければなりません。 バージョン 3.7 で変更: filter と ... dows では UTF-8、POSIX では sys.getfilesystemencoding() が返すエンコーディングでインタープリタ名をエンコードしてください。 zipfile モジュールが生成するような標準的な zip ファイルのデータです。 zip ファイルには __main__.py というファイルを 必ず 含めます ...
https://man.mtool.work/python/3.14/library/zipapp.html
セキュリティで考慮すべき点 8067
セキュリティで考慮すべき点 以下のモジュールには、特有のセキュリティ上の注意点があります: base64 : RFC 4648 にある base64 のセキュリティ上の注意点 hashlib : all constructors take a "usedforsecurity" keyword-only argument disabling known inse ... ess : サブプロセスのセキュリティ上の注意点 tempfile : mktemp は競合状態への脆弱性のため非推奨です xml : XML のセキュリティ zipfile : 悪意を持って作成された .zip ファイルはディスク容量を使い切る可能性があります -I コマンドラインオプションを使うと、Python ...
https://man.mtool.work/python/3.14/library/security_warnings.html
What's New in Python 2.7 8067
What's New in Python 2.7 著者 : A.M. Kuchling (amk at amk.ca) この文書は Python 2.7 の新機能について解説します。Python 2.7 は 2010 年 7 月 3 日にリリースされました。 数値周りの扱いが、浮動小数点数でも Decimal クラスでもいろいろな点で改良され ... されている場合に True を、そうでない場合に False を返します。 (Contributed by Antoine Pitrou; bpo-4688 .) gzip モジュールの GzipFile がコンテキストマネージャープロトコルをサポートしました。 with gzip.GzipFile(...) as f: と書くことができます。(contributed ... _threshold で制御します。 このバイト数より大きな応答が圧縮されます。 (Kristján Valur Jónsson による貢献です。 bpo-6267 。) zipfile モジュールの ZipFile は、コンテキストマネジメントプロトコルをサポートし、 with zipfile.ZipFile(...) as f: と書けるようにな ... りました。 (Contributed by Brian Curtin; bpo-5511 .) zipfile が空のディレクトリのアーカイブと正しい展開に対応しました (Kuba Wieczorek が修正、 bpo-4710 )。 アーカイブ内のファイルの読み ...
https://man.mtool.work/python/3.14/whatsnew/2.7.html
PREV 1 2 3 NEXT