Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 57 for item (0.024 sec.)
25.2. tkinter.ttk --- Tk のテーマ付きウィジェット — Python 3.6.5 ドキュメント 13275
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... の要素オプションは、ウィジェットの insert コマンドと item コマンドで要素に対して指定できます。 オプション 説 ... tk.Treeview ¶ class tkinter.ttk. Treeview ¶ bbox ( item , column=None ) ¶ (ツリービューウィジェットのウィン ... ドウを基準として) 指定された item のバウンディングボックス情報を (x 座標, y 座標, 幅 ... の要素の子供であったり、枠外にスクロールされていて) item が見えなくなっている場合は、空文字列が返されます。 ...
https://man.plustar.jp/python/library/tkinter.ttk.html - [similar]
はじめに — Python 3.6.5 ドキュメント 11689
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... りません; 例外としてよく知られているのは、 PyList_SetItem() と PyTuple_SetItem() で、これらはシーケンスに入れ ... : PyObject * t ; t = PyTuple_New ( 3 ); PyTuple_SetItem ( t , 0 , PyLong_FromLong ( 1L )); PyTuple_SetItem ... ( t , 1 , PyLong_FromLong ( 2L )); PyTuple_SetItem ( t , 2 , PyUnicode_FromString ( "three" )); ここで ... g_FromLong() は新しい参照を返し、すぐに PyTuple_SetItem() に盗まれます。参照が盗まれた後もそのオブジェクト ...
https://man.plustar.jp/python/c-api/intro.html - [similar]
リストオブジェクト — Python 3.6.5 ドキュメント 11542
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... 素には NULL がセットされています。なので、 PyList_SetItem() で本当にオブジェクトをセットするまでは、Pythonコ ... ードにこのオブジェクトを渡したり、 PySequence_SetItem() のような抽象APIを利用してはいけません。 Py_ssize ... で、エラーチェックをしません。 PyObject * PyList_GetItem ( PyObject *list , Py_ssize_t index ) ¶ Return val ... exError 例外をセットします。 PyObject * PyList_GET_ITEM ( PyObject *list , Py_ssize_t i ) ¶ Return value: ...
https://man.plustar.jp/python/c-api/list.html - [similar]
17.7. queue --- 同期キュークラス — Python 3.6.5 ドキュメント 11234
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... er that sets the upperbound limit on the number of items that can be placed in the queue. Insertion will b ... lock once this size has been reached, until queue items are consumed. If maxsize is less than or equal to ... er that sets the upperbound limit on the number of items that can be placed in the queue. Insertion will b ... lock once this size has been reached, until queue items are consumed. If maxsize is less than or equal to ...
https://man.plustar.jp/python/library/queue.html - [similar]
イテレータプロトコル (iterator protocol) — Python 3.6.5 ドキュメント 9501
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... * iterator = PyObject_GetIter ( obj ); PyObject * item ; if ( iterator == NULL ) { /* propagate error */ ... } while ( item = PyIter_Next ( iterator )) { /* do something with ... item */ ... /* release reference when done */ Py_DECREF ... ( item ); } Py_DECREF ( iterator ); if ( PyErr_Occurred ( ...
https://man.plustar.jp/python/c-api/iter.html - [similar]
14.4. xdrlib --- XDR データのエンコードおよびデコード — Python 3.6.5 ドキュメン... 9354
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 理をサポートします: Packer. pack_list ( list , pack_item ) ¶ 一様な項目からなる list をパックします。このメ ... され、続いてリスト中のデータがパックされます。 pack_item は個々の項目をパックするために呼び出される関数です ... pack_int ) Packer. pack_farray ( n , array , pack_item ) ¶ 一様な項目からなる固定長のリスト ( array ) をパ ... 、例外 ValueError が送出されます。上と同様に、 pack_item は個々の要素をパック処理するための関数です。 Packe ...
https://man.plustar.jp/python/library/xdrlib.html - [similar]
10.3. operator --- 関数形式の標準演算子 — Python 3.6.5 ドキュメント 8297
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... a の中に b が出現する回数を返します。 operator. delitem ( a , b ) ¶ operator. __delitem__ ( a , b ) ¶ a で ... インデクスが b の値を削除します。 operator. getitem ( a , b ) ¶ operator. __getitem__ ( a , b ) ¶ a で ... が出現する場所のインデクスを返します。 operator. setitem ( a , b , c ) ¶ operator. __setitem__ ( a , b , c ... ast) を返します。 次と等価です: def attrgetter ( * items ): if any ( not isinstance ( item , str ) for ite ...
https://man.plustar.jp/python/library/operator.html - [similar]
8.5. heapq --- ヒープキューアルゴリズム — Python 3.6.5 ドキュメント 8223
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 次の関数が用意されています: heapq. heappush ( heap , item ) ¶ item を heap に push します。ヒープ不変式を保ち ... [0] を使ってください。 heapq. heappushpop ( heap , item ) ¶ item を heap に push した後、pop を行って heap ... 間でヒープに変換します。 heapq. heapreplace ( heap , item ) ¶ heap から最小の要素を pop して返し、新たに ite ... の組み合わせは必ずヒープから要素を一つ返し、それを item と置き換えます。 返される値は加えられた item よりも ...
https://man.plustar.jp/python/library/heapq.html - [similar]
26.1. typing --- 型ヒントのサポート — Python 3.6.5 ドキュメント 8150
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... from typing import Callable def feeder ( get_next_item : Callable [[], str ]) -> None : # Body def async_ ... ic は LoggedVar[t] が型として有効になるように __getitem__() を定義したメタクラスを利用します。 from typing ... a = 2 # OK s = '' # type: str s = a # OK def foo ( item : Any ) -> int : # Typechecks; 'item' could be any ... type, # and that type might have a 'bar' method item . bar () ... Any 型の値をより詳細な型に代入する時に ...
https://man.plustar.jp/python/library/typing.html - [similar]
21.2. cgi --- CGI (ゲートウェイインタフェース規格) のサポート — Python 3.6.5 ド... 8076
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... および readline() メソッドはバイト列を返します): fileitem = form [ "userfile" ] if fileitem . file : # It's ... count lines linecount = 0 while True : line = fileitem . file . readline () if not line : break linecount ... 合には、常に以下のようなコードを書くよう学びました: item = form . getvalue ( "item" ) if isinstance ( item ... , list ): # The user is requesting more than one item. else : # The user is requesting only one item. こ ...
https://man.plustar.jp/python/library/cgi.html - [similar]
PREV 1 2 3 4 5 6 NEXT