Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 71 - 80 of about 91 for dict (0.116 sec.)
13.4. lzma --- LZMA アルゴリズムを使用した圧縮 — Python 3.6.5 ドキュメント 5799
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... のデフォルト値のソースとして使用する圧縮プリセット。 dict_size : 辞書のサイズのバイト数。これは、 4 KiB から ...
https://man.plustar.jp/python/library/lzma.html - [similar]
21.16. nntplib --- NNTP プロトコルクライアント — Python 3.6.5 ドキュメント 5799
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... C 3977 capabilities advertised by the server, as a dict instance mapping capability names to (possibly emp ... on't understand the CAPABILITIES command, an empty dictionary is returned instead. >>> s = NNTP ( 'news.gm ... (response, descriptions) , where descriptions is a dictionary mapping group names to textual descriptions. ... icle selected by message_spec . Each overview is a dictionary with the same number of items, but this numb ...
https://man.plustar.jp/python/library/nntplib.html - [similar]
26.4. unittest --- ユニットテストフレームワーク — Python 3.6.5 ドキュメント 5799
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... first と second が厳密に同じ型であり、list、tuple、dict、set、frozenset もしくは str のいずれか、またはサブ ... ssertSetEqual(a, b) set または frozenset 3.1 assertDictEqual(a, b) 辞書 3.1 assertMultiLineEqual ( first , ... はテストは失敗します。 バージョン 3.1 で追加. assertDictEqual ( first , second , msg=None ) ¶ 2つの辞書が等 ... す。このメソッドは、デフォルトで、 assertEqual() が dict を比較するときに自動的に使用します。 バージョン 3. ...
https://man.plustar.jp/python/library/unittest.html - [similar]
11. 標準ライブラリミニツアー --- その 2 — Python 3.6.5 ドキュメント 5799
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア ... Template ( 'Return the $item to $owner.' ) >>> d = dict ( item = 'unladen swallow' ) >>> t . substitute ( ... ) # create a reference >>> d = weakref . WeakValueDictionary () >>> d [ 'primary' ] = a # does not create ...
https://man.plustar.jp/python/tutorial/stdlib2.html - [similar]
What's New In Python 3.5 — Python 3.6.5 ドキュメント 5799
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... 。) 標準ライブラリーの顕著な改善 collections.OrderedDict が C で実装されました 。 これにより 4 倍から 100 倍 ... a in bpo-17442 .) collections ¶ collections.OrderedDict が C で実装されました。 これにより 4倍 から 100 倍 ... 。 (Contributed by Eric Snow in bpo-16991 .) OrderedDict.items() , OrderedDict.keys() , OrderedDict.values( ... customize the conversion of values by specifying a dictionary of converters in the ConfigParser constructo ...
https://man.plustar.jp/python/whatsnew/3.5.html - [similar]
引数の解釈と値の構築 — Python 3.6.5 ドキュメント 5692
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... 要素数を持つ Python のリストに変換します。 {items} ( dict ) [ matching-items ] C の値からなる配列を Python の ...
https://man.plustar.jp/python/c-api/arg.html - [similar]
3. Defining Extension Types: Assorted Topics — Python 3.6.5 ドキュメント 5692
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python インタプリタ ... set ; struct _typeobject * tp_base ; PyObject * tp_dict ; descrgetfunc tp_descr_get ; descrsetfunc tp_desc ... r_set ; Py_ssize_t tp_dictoffset ; initproc tp_init ; allocfunc tp_alloc ; ne ...
https://man.plustar.jp/python/extending/newtypes.html - [similar]
デザインと歴史 FAQ — Python 3.6.5 ドキュメント 5692
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python よくある質問 ... のイディオムを使うのが一般的でした: try : value = mydict [ key ] except KeyError : mydict [ key ] = getvalu ... e ( key ) value = mydict [ key ] これは、辞書がほとんどの場合にキーを持って ... す。そうでなければ、このように書きます: if key in mydict : value = mydict [ key ] else : value = mydict [ k ... ey ] = getvalue ( key ) この特殊な場合では value = dict.setdefault(key, getvalue(key)) も使えますが、これは ...
https://man.plustar.jp/python/faq/design.html - [similar]
14.1. csv --- CSV ファイルの読み書き — Python 3.6.5 ドキュメント 5692
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ジェクトはシーケンス型を読み書きします。プログラマは DictReader や DictWriter クラスを使うことで、データを辞 ... ジュールでは以下のクラスを定義しています: class csv. DictReader ( f , fieldnames=None , restkey=None , restv ... ader のように動作しますが、個々の列の情報を OrderedDict にマップするオブジェクトを生成します。マップのキー ... す。 バージョン 3.6 で変更: 返される列の型は OrderedDict になりました。 短い利用例: >>> import csv >>> with ...
https://man.plustar.jp/python/library/csv.html - [similar]
6.3. difflib --- 差分の計算を助ける — Python 3.6.5 ドキュメント 5692
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... の残りの要素をそれらが生じる位置のリストに写像する dict です。この 3 つは set_seqs() または set_seq2() で ...
https://man.plustar.jp/python/library/difflib.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 NEXT