per page, with , order by , clip by
Results of 1 - 10 of about 17 for extract (0.007 sec.)
traceback --- スタックトレースの表示または取得 14208
traceback --- スタックトレースの表示または取得 ソースコード: Lib/traceback.py このモジュールは、Python プログラムのスタックトレースを抽出、書式化、表示する標準的なインターフェースを提供します。 インタープリタのデフォルトのトレースバック表示 ... プションの file 引数は print_tb() の場合と同じ意味です。 バージョン 3.5 で変更: 負の limit がサポートされました。 traceback. extract_tb ( tb , limit = None ) トレースバックオブジェクト tb から抽出した「前処理済み」のスタックトレース項目のリストを表す、 St ... スタックトレース項目は FrameSummary オブジェクトで、通常のスタックトレースに表示される情報を属性として持ちます。 traceback. extract_stack ( f = None , limit = None ) 現在の スタックフレーム から生のトレースバックを取り出します。戻り値は extract_tb() と同 ... じ形式です。オプションの f と limit 引数は print_stack() と同じ意味を持ちます。 traceback. print_list ( extracted_list , file = None ) Print the list of tuples as returned by extract_tb() or extract_stack() as a formatted stack trace ...
https://man.mtool.work/python/3.14/library/traceback.html
tarfile --- tar アーカイブファイルの読み書き 11759
tarfile --- tar アーカイブファイルの読み書き ソースコード: Lib/tarfile.py tarfile モジュールを使うと、gzip、bz2、lzma で圧縮されたものを含め、tar アーカイブを読み書きできます。 .zip ファイルの読み書きには zipfile モジュールか、 shutil の高水 ... eption tarfile. StreamError ストリームのような TarFile オブジェクトで典型的な制限のために送出されます。 exception tarfile. ExtractError TarFile.extract() を使った時に 致命的でない エラーに対して送出されます。ただし TarFile.errorlevel == 2 の場合に限りま ... カイブの次のメンバーを TarInfo オブジェクトとして返します。もしそれ以上利用可能なものがなければ、 None を返します。 TarFile. extractall ( path = '.' , members = None , * , numeric_owner = False , filter = None ) すべてのメンバーをアーカイブから現在の作業デ ... で変更: filter パラメータが追加されました。 バージョン 3.14 で変更: filter 引数のデフォルトが 'data' になりました。 TarFile. extract ( member , path = '' , set_attrs = True , * , numeric_owner = False , filter = None ) アーカイブからメンバーの完全な名前を ...
https://man.mtool.work/python/3.14/library/tarfile.html
zipfile --- ZIP アーカイブの処理 9466
zipfile --- ZIP アーカイブの処理 Source code: Lib/zipfile/ ZIP は一般によく知られているアーカイブ (書庫化) および圧縮の標準ファイルフォーマットです。このモジュールでは ZIP 形式のファイルの作成、読み書き、追記、書庫内のファイル一覧の作成を行 ... かる場合は、 file_size を設定した ZipInfo オブジェクトを作成し、 name 引数に渡してください。 注釈 open() 、 read() 、および extract() メソッドには、ファイル名または ZipInfo オブジェクトを指定できます。これは重複する名前のメンバを含む ZIP ファイルを読み込 ... と mode 属性を追加しました。 読み取り可能なファイル風オブジェクトの mode 属性の値を 'r' から 'rb' に変更しました。 ZipFile. extract ( member , path = None , pwd = None ) アーカイブ内のメンバーを現在の作業ディレクトリに展開します。 member はメンバーの完全 ... ( : , < , > , | , " , ? , および * ) はアンダースコア ( _ ) で置き換えられます。 バージョン 3.6 で変更: 閉じた ZipFile の extract() を呼び出すと ValueError が送出されるようになりました。 以前は RuntimeError が送出されていました。 バージョン 3.6.2 で変更 ...
https://man.mtool.work/python/3.14/library/zipfile.html
shutil --- 高水準のファイル操作 8931
shutil --- 高水準のファイル操作 ソースコード: Lib/shutil.py shutil モジュールは、ファイルやファイルの集合に対するさまざまな高水準の操作を提供します。 特に、ファイルのコピーや削除を行う関数が用意されています。 個々のファイルを操作する場合は ... ーカイブフォーマット name を、サポートされているフォーマットのリストから取り除きます。 shutil. unpack_archive ( filename [ , extract_dir [ , format [ , filter ] ] ] ) アーカイブをアンパックします。 filename はアーカイブのフルパスです。 extract_dir はアーカ ... 場合を除き、 'data' (Python 3.14 以降のデフォルト) を使うことをお勧めします (詳細は 展開フィルター を参照)。 引数 filename , extract_dir , format を指定して 監査イベント shutil.unpack_archive を送出します。 警告 信頼できない提供元のアーカイブは、事前に内容 ... を調べずに展開しないでください。 例えば、絶対パスのファイル名や ".." を含むファイル名のメンバーがあると、 extract_dir 引数で指定したパスの外にファイルが作成される可能性があります。 Python 3.14 以降、組み込みの両形式 (zip ファイルと tar ...
https://man.mtool.work/python/3.14/library/shutil.html
http.cookiejar --- HTTP クライアント用の Cookie 処理 8379
http.cookiejar --- HTTP クライアント用の Cookie 処理 ソースコード: Lib/http/cookiejar.py http.cookiejar モジュールは、HTTP クッキーを自動で扱うクラスを定義しています。 ウェブサーバーからの HTTP レスポンスで小さなデータ ( クッキー ) をクライ ... クトに origin_req_host 属性が必要になりました。 非推奨のメソッド get_origin_req_host() への依存を取り除きました。 CookieJar. extract_cookies ( response , request ) HTTP response からクッキーを取り出し、ポリシーによって許可されていればこれを CookieJar 内に ... れた Cookie オブジェクトからなるシーケンスを返します。 response および request 引数で要求されるインターフェイスについては、 extract_cookies() の説明を参照してください。 CookieJar. set_cookie_if_ok ( cookie , request ) ポリシーが許すのであれば、与えられた ... サーバから受け入れられるべきかどうかを表わす boolean 値を返します。 cookie は Cookie インスタンスです。 request は CookieJar.extract_cookies() の説明で定義されているインターフェイスを実装するオブジェクトです。 CookiePolicy. return_ok ( cookie , request ) ...
https://man.mtool.work/python/3.14/library/http.cookiejar.html
6. Android で Python を使う 8379
6. Android で Python を使う Android における Pythonは、デスクトッププラットフォームにおける Python とは異なります。 デスクトッププラットフォームでは、 Python は一般的にコンピューターのどのユーザーでも使えるシステムリソースとしてインストール ... ーするもの: python*.* (Python 標準ライブラリ) python*.*/site-packages (自分で作成した Python コード) Add code to your app to extract the assets to the filesystem . Add code to your app to start Python in embedded mode . This will need to be C code called ...
https://man.mtool.work/python/3.14/using/android.html
監査イベント表 8104
監査イベント表 この表は、 CPython ランタイムと標準ライブラリ全体で sys.audit() または PySys_Audit() の呼び出しによって送出されるすべてのイベントを含んでいます。これらの呼び出しは、 3.8 以降に追加されました ( PEP 578 を参照) 。 これらのイベン ... ormat , root_dir , base_dir [1] shutil.move src , dst [1] shutil.rmtree path , dir_fd [1] shutil.unpack_archive filename , extract_dir , format [1] signal.pthread_kill thread_id , signalnum [1] smtplib.connect self , host , port [1] smtplib.send self , ...
https://man.mtool.work/python/3.14/library/audit_events.html
Pythonモジュール索引 7983
Pythonモジュール索引 _ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | z _ __future__ Future statement definitions __main__ The environment where top-level code is run. Covers command-line i ... , and access importlib.resources.abc Abstract base classes for resources importlib.util Utility code for importers inspect Extract information and source code from live objects. io Core tools for working with streams. ipaddress IPv4/IPv6 manipulation li ... tabase (getpwnam() and friends). py_compile Generate byte-code files from Python source files. pyclbr Supports information extraction for a Python module browser. pydoc Documentation generator and online help system. q queue A synchronized queue class. ...
https://man.mtool.work/python/3.14/py-modindex.html
What's New in Python 2.6 7845
What's New in Python 2.6 著者 : A.M. Kuchling (amk at amk.ca) この記事では、2008 年 10 月 1 日にリリースされた Python 2.6 の新機能を説明します。 リリース日程は PEP 361 に記載されています。 Python 2.6 の主要なテーマは、言語を大幅に再設計する ... 応答の <i8> で表した 64 ビット整数 (Riku Lindblad による貢献、 bpo-2985 ) も扱えるようになりました。 zipfile の ZipFile に extract() と extractall() が加わりました。 単一のファイルまたはアーカイブの全ファイルを、現在のディレクトリか指定したディレクトリへ ... 開します。 z = zipfile . ZipFile ( 'python-251.zip' ) # 単一のファイルを /tmp ディレクトリからの # 相対パスへ展開する。 z . extract ( 'Python/sysmodule.c' , '/tmp' ) # アーカイブのすべてのファイルを展開する。 z . extractall () (Contributed by Alan McInty ... re; bpo-467924 .) open() 、 read() 、 extract() が、ファイル名だけでなく ZipInfo オブジェクトも受け付けるようになりました。 アーカイブに誤って同じファイル名が複数入って ...
https://man.mtool.work/python/3.14/whatsnew/2.6.html
変更履歴 7845
変更履歴 次の 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 ... andshake. asyncio.StreamWriter.wait_closed() no longer waits forever after such a failure. gh-160297 : Fix tarfile.TarFile.extractall() and tarfile.TarFile.extract() changing the mode, modification time and owner of a file outside the destination direct ... ory when a hard link member is extracted as a copy of a symbolic link member, for example with the 'tar' filter. gh-161086 : Fix the gzip command-line interface ... when looking up an OpenSSL hash algorithm by name the first time. Patch by Bénédikt Tran. gh-127636 : Fix tarfile.TarFile.extract() to accept archive member names with a trailing forward slash, including those returned by tarfile.TarFile.getnames() . C ...
https://man.mtool.work/python/3.14/whatsnew/changelog.html
PREV 1 2 NEXT