Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 65 for obj (0.062 sec.)
12.1. pickle --- Python オブジェクトの直列化 — Python 3.6.5 ドキュメント 8502
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... on との比較 ¶ pickle プロトコルと JSON (JavaScript Object Notation) との基本的な違いは以下のとおりです: J ... ュールでは以下の関数を提供しています: pickle. dump ( obj , file , protocol=None , * , fix_imports=True ) ¶ ... file に書き込みます。 Pickler(file, protocol).dump(obj) と等価です。 任意の引数 protocol は、整数で、pick ... ムは Python 2 でも読み込み可能です。 pickle. dumps ( obj , protocol=None , * , fix_imports=True ) ¶ ファイル ...
https://man.plustar.jp/python/library/pickle.html - [similar]
memoryview オブジェクト — Python 3.6.5 ドキュメント 8244
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... レンスマニュアル » 具象オブジェクト (concrete object) レイヤ » memoryview オブジェクト ¶ memoryview ... C 言語レベルの バッファのインターフェース です。 PyObject * PyMemoryView_FromObject ( PyObject *obj ) ¶ バ ... ェクトからmemoryview オブジェクトを生成します。もし obj が書き込み可能なバッファのエクスポートをサポートす ... ーターの分別にもとづいて読み書きが可能となります。 PyObject * PyMemoryView_FromMemory ( char *mem , Py_ssiz ...
https://man.plustar.jp/python/c-api/memoryview.html - [similar]
16.16. ctypes --- Pythonのための外部関数ライブラリ — Python 3.6.5 ドキュメント 7786
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... > from ctypes import * >>> libc . printf <_FuncPtr object at 0x...> >>> print ( windll . kernel32 . GetMo ... duleHandleA ) <_FuncPtr object at 0x...> >>> print ( windll . kernel32 . MyOwn ... tattr ( cdll . msvcrt , "??2@YAPAXI@Z" ) <_FuncPtr object at 0x...> >>> Windows では、名前ではなく序数によ ... アクセスします: >>> cdll . kernel32 [ 1 ] <_FuncPtr object at 0x...> >>> cdll . kernel32 [ 0 ] Traceback ( ...
https://man.plustar.jp/python/library/ctypes.html - [similar]
19.2. json --- JSON エンコーダおよびデコーダ — Python 3.6.5 ドキュメント 7729
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ソースコード: Lib/json/__init__.py JSON (JavaScript Object Notation) は、 RFC 7159 ( RFC 4627 を obsolete) ... {"__complex__": true, "real": 1, "imag": 2}' , ... object_hook = as_complex ) (1+2j) >>> import decimal > ... r ( json . JSONEncoder ): ... def default ( self , obj ): ... if isinstance ( obj , complex ): ... return ... [ obj . real , obj . imag ] ... # Let the base class def ...
https://man.plustar.jp/python/library/json.html - [similar]
バッファプロトコル (buffer Protocol) — Python 3.6.5 ドキュメント 7572
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... レンスマニュアル » 抽象オブジェクトレイヤ (abstract objects layer) » バッファプロトコル (buffer Protocol) ... インタフェースは バッファオブジェクト構造体 (buffer object structure) の節で説明します。 利用する側では、オ ... のバッファを得る二つの方法があります: 正しい引数で PyObject_GetBuffer() を呼び出す; PyArg_ParseTuple() (また ... って提供される多くのデータ型とは異なり、バッファは PyObject ポインタではなく、シンプルなC 構造体です。そのた ...
https://man.plustar.jp/python/c-api/buffer.html - [similar]
What's New in Python 2.2 — Python 3.6.5 ドキュメント 7572
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... どの Python 組み込み型は今では新スタイルクラスです。 object という名の新スタイルクラスは全ての組み込み型の基 ... 既に追加されていて、相応しい組み込み型がなければ単に object をサブクラス化すれば良いです: class C ( object ... れは変更出来ます --- 詳細は PEP 253 参照 --- ですが object をサブクラス化する方が簡単です。) 組み込み型(ビ ... 名前です。 __doc__ は属性の docstring です。 __get__(object) は object から属性値を取り出すメソッドです。 _ ...
https://man.plustar.jp/python/whatsnew/2.2.html - [similar]
19.1.7. email.contentmanager: MIME 内容の管理 — Python 3.6.5 ドキュメント 7414
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... er will extract the payload from msg and return an object that encodes information about the extracted da ... yError for the full MIME type. set_content ( msg , obj , *args , **kw ) ¶ If the maintype is multipart , ... se look up a handler function based on the type of obj (see next paragraph), call clear_content() on the ... ation is that the handler will transform and store obj into msg , possibly making other changes to msg as ...
https://man.plustar.jp/python/library/email.contentmanager.html - [similar]
19.1.4. email.policy: ポリシーオブジェクト — Python 3.6.5 ドキュメント 7214
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ールパッケージに対して柔軟性を提供します。 A Policy object encapsulates a set of attributes and methods th ... instance default . When a Message or EmailMessage object is created, it acquires a policy. If the messag ... r that will override the one stored on the message object. The default value for the policy keyword for t ... defines the features that are common to all policy objects, including compat32 . This includes certain ho ...
https://man.plustar.jp/python/library/email.policy.html - [similar]
バイトオブジェクト — Python 3.6.5 ドキュメント 7013
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... レンスマニュアル » 具象オブジェクト (concrete object) レイヤ » バイトオブジェクト ¶ 下記の関数は、バ ... して呼び出されると、 TypeError を送出します。 PyBytesObject ¶ この PyObject のサブタイプは、Python バイトオ ... ブジェクトを表します。 PyTypeObject PyBytes_Type ¶ この PyTypeObject のインスタンス ... tes と同じオブジェクトです。 int PyBytes_Check ( PyObject *o ) ¶ オブジェクト o がバイトオブジェクトか、ま ...
https://man.plustar.jp/python/c-api/bytes.html - [similar]
What's New in Python 2.1 — Python 3.6.5 ドキュメント 7013
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... ython は、トップディレクトリと Python/ , Parser/ , Objects/ , Modules/ サブディレクトリにあった別々の Mak ... _cache [ x ] retval = f ( x ) # Cache the returned object _cache [ x ] = retval return retval This versio ... ery noticeable for integers, but if f() returns an object, or a data structure that takes up a lot of mem ... クトがもはや存在しないことを表明します。オブジェクト obj への弱参照を作るには、 wr = weakref.ref(obj) としま ...
https://man.plustar.jp/python/whatsnew/2.1.html - [similar]
PREV 1 2 3 4 5 6 7 NEXT