Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 21 - 30 of about 167 for list (0.035 sec.)
19.1.2. email.parser: 電子メールメッセージのパース — Python 3.6.5 ドキュメント 6803
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... pulate a message object's defects attribute with a list of any problems it found in a message. See the ema ... il.errors module for the list of defects that it can find. Here is the API for t ... multipart() , and iter_parts() will yield an empty list. All multipart type messages will be parsed as a c ... ontainer message object with a list of sub-message objects for their payload. The oute ...
https://man.plustar.jp/python/library/email.parser.html - [similar]
26.7. 2to3 - Python 2 から 3 への自動コード変換 — Python 3.6.5 ドキュメント 6542
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 2to3 runs a set of predefined fixers . The -l flag lists all available fixers. An explicit set of fixers t ... t , meaning they aren't run by default and must be listed on the command line to be run. Here, in addition ... dict.keys() , dict.values() に変換されます。また、 list の呼び出しの中で dict.items() , dict.keys() , dict ... 入を atexit モジュールの使用に変更します。 filter ¶ list 呼び出しの中で filter() を使用している部分をラップ ...
https://man.plustar.jp/python/library/2to3.html - [similar]
2. 組み込み関数 — Python 3.6.5 ドキュメント 6542
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... format() len() property() type() chr() frozenset() list() range() vars() classmethod() getattr() locals() ... してください。 他のコンテナについては、 ビルトインの list , set , tuple クラスおよび collections モジュールを ... = [ 'Spring' , 'Summer' , 'Fall' , 'Winter' ] >>> list ( enumerate ( seasons )) [(0, 'Spring'), (1, 'Summ ... er'), (2, 'Fall'), (3, 'Winter')] >>> list ( enumerate ( seasons , start = 1 )) [(1, 'Spring' ...
https://man.plustar.jp/python/library/functions.html - [similar]
ソート HOW TO — Python 3.6.5 ドキュメント 6474
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » ソー ... にはリストをインプレースに変更する、組み込みメソッド list.sort() があります。他にもイテラブルからソートしたリ ... >>> sorted ([ 5 , 2 , 3 , 1 , 4 ]) [1, 2, 3, 4, 5] list.sort() メソッドを呼びだしても同じことができます。こ ... rt () >>> a [1, 2, 3, 4, 5] 違いは他にもあります、 list.sort() メソッドはリストにのみ定義されています。一方 ... , 4 : 'E' , 5 : 'A' }) [1, 2, 3, 4, 5] Key 関数 ¶ list.sort() と sorted() には key パラメータがあります。 ...
https://man.plustar.jp/python/howto/sorting.html - [similar]
19.1.1. email.message: 電子メールメッセージの表現 — Python 3.6.5 ドキュメント 6338
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... the RFC 5322 body of the message, which might be a list of sub- EmailMessage objects. In addition to the n ... bject, in the case of simple message objects, or a list of EmailMessage objects, for MIME container docume ... rt ( ) ¶ Return True if the message's payload is a list of sub- EmailMessage objects, otherwise return Fal ... -added is always appended to the end of the header list. These semantic differences are intentional and ar ...
https://man.plustar.jp/python/library/email.message.html - [similar]
1. C や C++ による Python の拡張 — Python 3.6.5 ドキュメント 6270
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python インタプリタ ... es additional libraries to link with, these can be listed on the line in the configuration file as well, f ... します。以下に例を示します: int arg ; PyObject * arglist ; PyObject * result ; ... arg = 123 ; ... /* Time ... to call the callback */ arglist = Py_BuildValue ( "(i)" , arg ); result = PyObject ... _CallObject ( my_callback , arglist ); Py_DECREF ( arglist ); PyObject_CallObject() は ...
https://man.plustar.jp/python/extending/extending.html - [similar]
29.12. inspect --- 活動中のオブジェクトの情報を取得する — Python 3.6.5 ドキュメ... 6270
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... arargs, keywords, defaults) is returned. args is a list of the parameter names. varargs and keywords are t ... n elements, they correspond to the last n elements listed in args . バージョン 3.0 で非推奨: Use getfullar ... kwonlyargs, kwonlydefaults, annotations) args is a list of the positional parameter names. varargs is the ... here are no such defaults defined. kwonlyargs is a list of keyword-only parameter names. kwonlydefaults is ...
https://man.plustar.jp/python/library/inspect.html - [similar]
21.28. ipaddress --- IPv4/IPv6 操作ライブラリ — Python 3.6.5 ドキュメント 6270
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... dcast address are also included in the result. >>> list ( ip_network ( '192.0.2.0/29' ) . hosts ()) #docte ... ddress('192.0.2.5'), IPv4Address('192.0.2.6')] >>> list ( ip_network ( '192.0.2.0/31' ) . hosts ()) [IPv4A ... 0/28' ) >>> n2 = ip_network ( '192.0.2.1/32' ) >>> list ( n1 . address_exclude ( n2 )) #doctest: +NORMALIZ ... e set. Returns an iterator of network objects. >>> list ( ip_network ( '192.0.2.0/24' ) . subnets ()) [IPv ...
https://man.plustar.jp/python/library/ipaddress.html - [similar]
4. 組み込み型 — Python 3.6.5 ドキュメント 6270
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 式のドキュメント にあります。 4.6. シーケンス型 --- list , tuple , range ¶ 基本的なシーケンス型は 3 つありま ... をよく悩ませます。例えば以下のコードを考えます: >>> lists = [[]] * 3 >>> lists [[], [], []] >>> lists [ 0 ] ... . append ( 3 ) >>> lists [[3], [3], [3]] ここで、 [[]] が空リストを含む 1 ... 3 の 3 要素はこの一つの空リスト (への参照) です。 lists のいずれかの要素を変更すると、その一つのリストが変 ...
https://man.plustar.jp/python/library/stdtypes.html - [similar]
What's New In Python 3.5 — Python 3.6.5 ドキュメント 6213
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... り deque インスタンスは MutableSequence と認識され、list との代替性が向上しました。 (Contributed by Raymond ... ents to match the corresponding methods of tuple , list , etc. (Contributed by Devin Jeanpierre in bpo-230 ... >>> import configparser >>> conv = {} >>> conv [ 'list' ] = lambda v : [ e . strip () for e in v . split ... s = conv ) >>> cfg . read_string ( """ ... [s] ... list = a b c d e f g ... """ ) >>> cfg . get ( 's' , 'l ...
https://man.plustar.jp/python/whatsnew/3.5.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 NEXT