Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 231 - 240 of about 274 for IN (0.994 sec.)
12.4. marshal --- 内部使用向けの Python オブジェクト整列化 — Python 3.6.5 ドキ... 4118
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... s that read/write files as well as functions operating on bytes-like objects. このモジュールでは、以下の ... be a supported type. The file must be a writeable binary file . 値 (または値に含まれるオブジェクト) がサ ... because the data has a different Python version's incompatible marshal format), raise EOFError , ValueE ... rror or TypeError . The file must be a readable binary file . 注釈 サポートされていない型を含むオブジェ ...
https://man.plustar.jp/python/library/marshal.html - [similar]
8.12. reprlib --- もう一つの repr() の実装 — Python 3.6.5 ドキュメント 4118
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... .. def __repr__ ( self ): ... return '<' + '|' . join ( map ( repr , self )) + '>' ... >>> m = MyList ( ... >>> m . append ( m ) >>> m . append ( 'x' ) >>> print ( m ) <'a'|'b'|'c'|...|'x'> バージョン 3.2 で追加 ... 字が抜け落ちます。デフォルトは 40 です。 Repr. maxstring ¶ 文字列の表現における文字数の制限。文字列の"通常 ... 型のサイズをコントロールするために使われます。 maxstring と同じようなやり方で適用されます。デフォルトは 20 ...
https://man.plustar.jp/python/library/reprlib.html - [similar]
17.6. sched --- イベントスケジューラ — Python 3.6.5 ドキュメント 4118
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... scheduler ( time . time , time . sleep ) >>> def print_time ( a = 'default' ): ... print ( "From print_t ... ime" , time . time (), a ) ... >>> def print_some_times (): ... print ( time . time ()) ... s ... . enter ( 10 , 1 , print_time ) ... s . enter ( 5 , 2 , print_time , argum ... ent = ( 'positional' ,)) ... s . enter ( 5 , 1 , print_time , kwargs = { 'a' : 'keyword' }) ... s . run ...
https://man.plustar.jp/python/library/sched.html - [similar]
6. モジュール (module) — Python 3.6.5 ドキュメント 4118
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア ... 呼びます。モジュールにある定義は、他のモジュールや main モジュール (実行のトップレベルや電卓モードでアクセ ... 容のファイル fibo.py を作成してみましょう: # Fibonacci numbers module def fib ( n ): # write Fibonacci ser ... ies up to n a , b = 0 , 1 while b < n : print ( b , end = ' ' ) a , b = b , a + b print () def ... . py < arguments > と実行すると、 __name__ に __main__ が設定されている点を除いて import したときと同じ ...
https://man.plustar.jp/python/tutorial/modules.html - [similar]
はじめに — Python 3.6.5 ドキュメント 4089
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... プログラマ用インタフェース (Application Programmer's Interface, API) は、 Python インタプリタに対する様々な ... 的にはアプリケーションへの Python の埋め込み ( embedding ) と呼びます。 拡張モジュールの作成は比較的わかり ... マクロの全ての定義をインクルードするには、以下の行: #include "Python.h" をソースコードに記述します。この行 ... を記述すると、標準ヘッダ: <stdio.h> , <string.h> , <errno.h> , <limits.h> , <assert.h> , <stdli ...
https://man.plustar.jp/python/c-api/intro.html - [similar]
整数型オブジェクト (integer object) — Python 3.6.5 ドキュメント 4089
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... クト (concrete object) レイヤ » 整数型オブジェクト (integer object) ¶ すべての整数は任意の長さをもつ "lon ... s* APIs return (return type)-1 which cannot be distinguished from a number. Use PyErr_Occurred() to disa ... n 整数型を表現します。これは Python レイヤにおける int と同じオブジェクトです。 int PyLong_Check ( PyObj ... か PyLongObject のサブタイプのときに真を返します。 int PyLong_CheckExact ( PyObject *p ) ¶ 引数が PyLong ...
https://man.plustar.jp/python/c-api/long.html - [similar]
共通のオブジェクト構造体 (common object structure) — Python 3.6.5 ドキュメント 4089
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... ( PyVarObject * )( o )) -> ob_size ) PyObject_HEAD_INIT ( type ) ¶ 新しい PyObject 型のための初期値に展開 ... このマクロは次のように展開されます。 _PyObject_EXTRA_INIT 1 , type , PyVarObject_HEAD_INIT ( type, size ) ... このマクロは次のように展開されます。 _PyObject_EXTRA_INIT 1 , type , size , PyCFunction ¶ ほとんどの Pytho ... ド名 ml_meth PyCFunction C 実装へのポインタ ml_flags int 呼び出しをどのように行うかを示すフラグビット ml_d ...
https://man.plustar.jp/python/c-api/structures.html - [similar]
タプルオブジェクト (tuple object) — Python 3.6.5 ドキュメント 4089
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... thon レイヤにおける tuple と同じオブジェクトです。 int PyTuple_Check ( PyObject *p ) ¶ p がタプルオブジェ ... のサブタイプのインスタンスである場合に真を返します。 int PyTuple_CheckExact ( PyObject *p ) ¶ p がタプルオ ... します。 pos が範囲を超えている場合、 NULL を返して IndexError 例外をセットします。 PyObject * PyTuple_GE ... イスを取り出して、タプルオブジェクトとして返します。 int PyTuple_SetItem ( PyObject *p , Py_ssize_t pos , ...
https://man.plustar.jp/python/c-api/tuple.html - [similar]
1. Distutilsの紹介 — Python 3.6.5 ドキュメント 4089
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python モジュールの ... コマンドを実行してください: python setup . py sdist Windows では、コマンドプロンプトのウィンドウを開き ( ス ... を含むアーカイブファイル (例。 Unix の tarball や Windows の ZIP ファイル) を作成します。アーカイブファイ ... ィレクトリに展開されます。 If an end-user wishes to install your foo module, all she has to do is downloa ... from the foo-1.0 directory---run python setup . py install この操作を行うと、インストールされている Pyth ...
https://man.plustar.jp/python/distutils/introduction.html - [similar]
Python 3 への拡張モジュール移植 — Python 3.6.5 ドキュメント 4089
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Pyth ... on 3 への拡張モジュール移植 ¶ author: Benjamin Peterson 概要 C-API の変更は Python 3 の目標には入 ... API を無傷で済ませることはできませんでした。実際、 int() と long() の統合などは C レベルのほうが目立ちま ... チェックすることです。 #if PY_MAJOR_VERSION >= 3 #define IS_PY3K #endif 存在しなくなった関数については、条 ... bject.h が用意されており、 PyBytes 系の名前を PyString 系にマップしています。Python 3 との互換性を最大限 ...
https://man.plustar.jp/python/howto/cporting.html - [similar]