per page, with , order by , clip by
Results of 1 - 10 of about 29 for supports (0.008 sec.)
os --- 雑多なオペレーティングシステムインターフェース 14716
os --- 雑多なオペレーティングシステムインターフェース ソースコード: Lib/os.py このモジュールは、 OS 依存の機能を利用するポータブルな方法を提供します。単純なファイルの読み書きについては、 open() を参照してください。パス操作については、 os.pa ... ブジェクトです。 environ と environb は同期されます ( environb を変更すると environ が更新され、逆も同様です)。 environb は supports_bytes_environ が True の場合のみ利用可能です。 Added in version 3.2. バージョン 3.9 で変更: 更新され PEP 584 の合成演算子 ... に取得されます。そのため、それ以降に環境変数が変更されても、この関数の値にそれが反映されない可能性があります。 getenvb() は supports_bytes_environ が True の場合のみ利用可能です。 利用可能な環境 : Unix. Added in version 3.2. os. get_exec_path ( env = None ... セージを返します。未知のエラーコードの対して strerror() が NULL を返すプラットフォームでは、 ValueError が送出されます。 os. supports_bytes_environ 環境のネイティブ OS タイプがバイト型の場合、 True です (例: Windows では、 False です)。 Added in version 3. ...
https://man.mtool.work/python/3.14/library/os.html
弱参照オブジェクト 11045
弱参照オブジェクト Python は 弱参照 を第一級オブジェクト (first-class object) としてサポートします。弱参照を直接実装する二種類の固有のオブジェクト型があります。第一は単純な参照オブジェクトで、第二はオリジナルのオブジェクトに対して可能な限り ... クトでない場合は TypeError を送出して NULL を返します。 参考 ob が弱参照を作成できるオブジェクトかどうかを調べるには PyType_SUPPORTS_WEAKREFS() を参照してください。 PyObject * PyWeakref_NewProxy ( PyObject * ob , PyObject * callback ) 戻り値: 新しい参照。 ... le object, this will raise TypeError and return NULL . 参考 ob が弱参照を作成できるオブジェクトかどうかを調べるには PyType_SUPPORTS_WEAKREFS() を参照してください。 int PyWeakref_GetRef ( PyObject * ref , PyObject * * pobj ) 次に属します: Stable ABI (バー ...
https://man.mtool.work/python/3.14/c-api/weakref.html
shutil --- 高水準のファイル操作 11045
shutil --- 高水準のファイル操作 ソースコード: Lib/shutil.py shutil モジュールは、ファイルやファイルの集合に対するさまざまな高水準の操作を提供します。 特に、ファイルのコピーや削除を行う関数が用意されています。 個々のファイルを操作する場合は ... リンクの検査と変更ができるわけではありません。 Python はその機能が利用かどうかを調べる方法を用意しています。 os.chmod in os.supports_follow_symlinks が True の場合 copystat() はシンボリックリンクのパーミッションを変更できます。 os.utime in os.supports_fol ... w_symlinks が True の場合 copystat() はシンボリックリンクの最終アクセス時間と最終変更時間を変更できます。 os.chflags in os.supports_follow_symlinks が True の場合 copystat() はシンボリックリンクのフラグを変更できます。 ( os.chflags がないプラットフォーム ... しようとした場合、 copystat() は可能な限り全てをコピーします。 copystat() が失敗を返すことはありません。 より詳しい情報は os.supports_follow_symlinks を参照して下さい。 引数 src , dst を指定して 監査イベント shutil.copystat を送出します。 バージョン 3.3 で ...
https://man.mtool.work/python/3.14/library/shutil.html
C API Stability 8989
C API Stability 特記のない限り、Python の C API には後方互換性ポリシー PEP 387 が適用されます。 変更の大半はソース互換性を保ちます (通常は新しい API の追加だけを行います)。 既存 API の変更や削除は、非推奨の期間を経た後、または重大な問題を修 ... PI version. Define Py_LIMITED_API to the value of PY_VERSION_HEX corresponding to the lowest Python version your extension supports. The extension will be ABI-compatible with all Python 3 releases from the specified one onward, and can use Limited API in ... gh they're part of the Limited API. For these reasons, we recommend testing an extension with all minor Python versions it supports, and preferably to build with the lowest such version. また、使用するすべての API のドキュメントを確認し、それが明示的に L ...
https://man.mtool.work/python/3.14/c-api/stable.html
Python インタプリタの拡張と埋め込み 8989
Python インタプリタの拡張と埋め込み This document describes how to write modules in C or C++ to extend the Python interpreter with new modules. Those modules can not only define new functions but also new object types and their methods. The ... sion modules so that they can be loaded dynamically (at run time) into the interpreter, if the underlying operating system supports this feature. このドキュメントは、C と Python の基礎知識を前提としています。 Python の入門には Python チュートリアル を参照 ...
https://man.mtool.work/python/3.14/extending/
拡張モジュールの定義 8582
拡張モジュールの定義 A C extension for CPython is a shared library (for example, a .so file on Linux, .pyd DLL on Windows), which is loadable into the Python process (for example, it is compiled with compatible compiler settings), and which ... n process into several phases: Before any substantial code is executed, Python can determine which capabilities the module supports, and it can adjust the environment or refuse loading an incompatible extension. By default, Python itself creates the modu ...
https://man.mtool.work/python/3.14/c-api/extension-modules.html
浮動小数点オブジェクト 8582
浮動小数点オブジェクト type PyFloatObject この PyObject のサブタイプは Python の浮動小数点オブジェクトを表します。 PyTypeObject PyFloat_Type 次に属します: Stable ABI . この PyTypeObject のインスタンスは Python の浮動小数点型を表します。 Pyt ... r example on x86 systems in 32-bit mode. On non-IEEE platforms with more precision, or larger dynamic range, than IEEE 754 supports, not all values can be packed; on non-IEEE platforms with less precision, or smaller dynamic range, not all values can be ...
https://man.mtool.work/python/3.14/c-api/float.html
What's New In Python 3.3 8582
What's New In Python 3.3 この記事では 3.2 と比較した Python 3.3 の新機能を解説します。 Python 3.3 は2012年9月29日にリリースされました。全詳細については 変更履歴 をご覧ください。 参考 PEP 398 - Python 3.3 リリーススケジュール 概要 -- リリース ... r() , stat() , symlink() , unlink() , utime() 。 これらのパラメータをプラットフォームがサポートしているかどうかは、集合 os.supports_dir_fd と os.supports_follow_symlinks で確認できます。 関数 chdir() , chmod() , chown() , execve() , listdir() , pathconf( ... utime() が、パス引数としてファイル記述子をサポートするようになりました。これをプラットフォームがサポートするかどうかは os.supports_fd を調べることでわかります。 access() がキーワード引数 effective_ids を受け取るようになりました。これは実 uid/gid の代わり ... に実効 uid/gid を使ってアクセスチェックを行うように振る舞いを変更します。これをプラットフォームがサポートするかどうかは supports_effective_ids を調べることでわかります。 os モジュールに 2 つの関数が追加されました。 getpriority() と setpriority() です。 ...
https://man.mtool.work/python/3.14/whatsnew/3.3.html
argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー 8174
argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー Added in version 3.2. ソースコード: Lib/argparse.py 注釈 argparse は基本的なコマンドラインアプリケーションの実装に推奨される標準ライブラリのモジュールですが、動作を厳密 ... --baz {X,Y,Z}] options: -h, --help show this help message and exit --baz {X,Y,Z} baz help The add_subparsers() method also supports title and description keyword arguments. When either is present, the subparser's commands will appear in their own group i ... --help show this help message and exit subcommands: valid subcommands {foo,bar} additional help Furthermore, add_parser() supports an additional aliases argument, which allows multiple strings to refer to the same subparser. This example, like svn , ali ... 'co' ]) >>> checkout . add_argument ( 'foo' ) >>> parser . parse_args ([ 'co' , 'bar' ]) Namespace(foo='bar') add_parser() supports also an additional deprecated argument, which allows to deprecate the subparser. >>> import argparse >>> parser = argparse ...
https://man.mtool.work/python/3.14/library/argparse.html
Pythonモジュール索引 8174
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 ... . pwd The password database (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 synchr ... est Regression tests package containing the testing suite for Python. test.regrtest Drives the regression test suite. test.support Support for Python's regression test suite. test.support.bytecode_helper Support tools for testing correct bytecode generat ...
https://man.mtool.work/python/3.14/py-modindex.html
PREV 1 2 3 NEXT