Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 58 for items (0.053 sec.)
関数型プログラミング HOWTO — Python 3.6.5 ドキュメント 7684
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » 関数 ... はキーと値のペアでイテレートしたければ、 values() , items() というメソッドでイテレータを作ることができます。 ... reduce ( lambda a , b : ( 0 , a [ 1 ] + b [ 1 ]), items )[ 1 ] わかるにはわかるでしょうが、何がどうなってい ... ] + b [ 1 ] total = functools . reduce ( combine , items )[ 1 ] でも単純に for ループにすれば良かったのです ... : total = 0 for a , b in items : total += b あるいは sum() ビルトインとジェネレー ...
https://man.plustar.jp/python/howto/functional.html - [similar]
32.12. dis --- Python バイトコードの逆アセンブラ — Python 3.6.5 ドキュメント 7684
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... w dictionary object onto the stack. Pops 2 * count items so that the dictionary holds count entries: {..., ... ン 3.5 で変更: The dictionary is created from stack items instead of creating an empty dictionary pre-sized ... to hold count items. BUILD_CONST_KEY_MAP ( count ) ¶ The version of BU ... rn value. Note that this opcode pops at most three items from the stack. Var-positional and var-keyword arg ...
https://man.plustar.jp/python/library/dis.html - [similar]
What's New in Python 2.7 — Python 3.6.5 ドキュメント 7684
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... .. ( 'second' , 2 ), ... ( 'third' , 3 )]) >>> d . items () [('first', 1), ('second', 2), ('third', 3)] 新し ... 順序が保持されます。: >>> d [ 'second' ] = 4 >>> d . items () [('first', 1), ('second', 4), ('third', 3)] エン ... del d [ 'second' ] >>> d [ 'second' ] = 5 >>> d . items () [('first', 1), ('third', 3), ('second', 5)] pop ... . PEP 3106: 辞書 View ¶ 辞書の keys() , values() , items() メソッドは Python 3.x では動作が代わり、完全に実 ...
https://man.plustar.jp/python/whatsnew/2.7.html - [similar]
19.1.8. email: 使用例 — Python 3.6.5 ドキュメント 7508
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ' \n ' 'Body would go here \n ' ) # Now the header items can be accessed as a dictionary: print ( 'To: {} ' ... policy . default ) . parse ( fp ) # Now the header items can be accessed as a dictionary, and any non-ASCII ...
https://man.plustar.jp/python/library/email.examples.html - [similar]
マップ型プロトコル (mapping protocol) — Python 3.6.5 ドキュメント 7318
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... to the Python expression len(o) . int PyMapping_DelItemString ( PyObject *o , const char *key ) ¶ Remove th ... 失敗すると NULL を返します。 PyObject * PyMapping_Items ( PyObject *o ) ¶ Return value: New reference. 成功 ... 失敗すると NULL を返します。 PyObject * PyMapping_GetItemString ( PyObject *o , const char *key ) ¶ Return va ... of the Python expression o[key] . int PyMapping_SetItemString ( PyObject *o , const char *key , PyObject *v ...
https://man.plustar.jp/python/c-api/mapping.html - [similar]
32.2. ast --- 抽象構文木 — Python 3.6.5 ドキュメント 7318
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... r test, stmt* body, stmt* orelse) | With(withitem* items, stmt* body) | AsyncWith(withitem* items, stmt* bo ...
https://man.plustar.jp/python/library/ast.html - [similar]
12.5. dbm --- Unix "データベース" へのインタフェース — Python 3.6.5 ドキュメン... 7318
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... print() を適用してもキーや値を印字することはなく、 items() 及び values() メソッドはサポートされていません。 ... ジェクトを出力してもキーと値は出力されません。また、 items() と values() メソッドはサポートされません。 このモ ...
https://man.plustar.jp/python/library/dbm.html - [similar]
31.3. modulefinder --- スクリプト中で使われているモジュールを検索する — Python ... 7142
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... d modules:' ) for name , mod in finder . modules . items (): print ( ' %s : ' % name , end = '' ) print ( ' ...
https://man.plustar.jp/python/library/modulefinder.html - [similar]
9. クラス — Python 3.6.5 ドキュメント 7142
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア ... Mapping : def __init__ ( self , iterable ): self . items_list = [] self . __update ( iterable ) def update ... ( self , iterable ): for item in iterable : self . items_list . append ( item ) __update = update # private ... init__() for item in zip ( keys , values ): self . items_list . append ( item ) 難号化の規則は主に不慮の事故 ...
https://man.plustar.jp/python/tutorial/classes.html - [similar]
What's New in Python 2.2 — Python 3.6.5 ドキュメント 7142
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... アで反復したければ、 iterkeys() , itervalues() , iteritems() で適切なイテレータを取れます (---訳注: Python 3 ... では対応するメソッド名が keys , values , items に変わっただけでなく、これらは「ビュー」オブジェク ... {'id': 4549, 'title': '3DGamers'}, ... ] # Get the items for one channel items = s . meerkat . getItems ( { ... 'channel' : 4 } ) # 'items' is another list of dictionaries, like this: # [{' ...
https://man.plustar.jp/python/whatsnew/2.2.html - [similar]
PREV 1 2 3 4 5 6 NEXT