Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 21 - 30 of about 249 for FOR (0.080 sec.)
19.1.2. email.parser: 電子メールメッセージのパース — Python 3.6.5 ドキュメント 6426
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... oot EmailMessage instance of the object structure. For simple, non-MIME messages the payload of this root ... ly be a string containing the text of the message. For MIME messages, the root object will return True fr ... There are actually two parser interfaces available for use, the Parser API and the incremental FeedParser ... he message from a stream which might block waiting for more input (such as reading an email message from ...
https://man.plustar.jp/python/library/email.parser.html - [similar]
21.28. ipaddress --- IPv4/IPv6 操作ライブラリ — Python 3.6.5 ドキュメント 6325
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... tributes. Some attributes that are only meaningful for IPv6 addresses are also implemented by IPv4Address ... in the address. Leading zeroes are tolerated only for values less than 8 (as there is no ambiguity betwe ... e_pointer ¶ The name of the reverse DNS PTR record for the IP address, e.g.: >>> ipaddress . ip_address ( ... .0.2.ip6.arpa' This is the name that could be used for performing a PTR lookup, not the resolved hostname ...
https://man.plustar.jp/python/library/ipaddress.html - [similar]
19.1.9. email.message.Message: Representing an email message using the compat32 ... 6255
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... document describes the behavior under the default (for Message ) policy Compat32 . If you are going to us ... ered dictionary of headers with additional methods for accessing both specialized information from the he ... aders, for accessing the payload, for generating a serialized ... version of the message, and for recursively walking over the object tree. Note tha ...
https://man.plustar.jp/python/library/email.compat32-message.html - [similar]
17.2. multiprocessing --- プロセスベースの並列処理 — Python 3.6.5 ドキュメント 6155
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... は継承されません。この方式を使用したプロセスの開始は fork や forkserver に比べ遅くなります。 Unix と Window ... s で利用可能。Windows でのデフォルト。 fork 親プロセスは os.fork() を使用して Python インター ... ださい。 Unix でのみ利用可能。Unix でのデフォルト。 forkserver プログラムを開始するとき forkserver 方式を選 ... フォークサーバープロセスはシングルスレッドなので os.fork() の使用に関しても安全です。不要なリソースは継承さ ...
https://man.plustar.jp/python/library/multiprocessing.html - [similar]
4. その他の制御フローツール — Python 3.6.5 ドキュメント 6155
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア ... における switch 文や case 文の代用となります。 4.2. for 文 ¶ Python の for 文は、読者が C 言語や Pascal 言 ... 語で使いなれているかもしれない for 文とは少し違います。 (Pascal のように) 常に算術型の ... もユーザが定義できるようにするのとは違い、Python の for 文は、任意のシーケンス型 (リストまたは文字列) にわ ... words = [ 'cat' , 'window' , 'defenestrate' ] >>> for w in words : ... print ( w , len ( w )) ... cat 3 ...
https://man.plustar.jp/python/tutorial/controlflow.html - [similar]
19.1.8. email: 使用例 — Python 3.6.5 ドキュメント 6115
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... may contain unicode characters): # Import smtplib for the actual sending function import smtplib # Impor ... Open the plain text file whose name is in textfile for reading. with open ( textfile ) as fp : # Create a ... aders = BytesParser(policy=default).parse(fp) # Or for parsing headers in a string (this is an uncommon o ... n be accessed as a dictionary: print ( 'To: {} ' . format ( headers [ 'to' ])) print ( 'From: {} ' . form ...
https://man.plustar.jp/python/library/email.examples.html - [similar]
26.6. unittest.mock --- 入門 — Python 3.6.5 ドキュメント 6115
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ( call_count and friends) which may also be useful for your tests. An alternative way of dealing with moc ... ct that is then iterated over. The protocol method for iteration is __iter__() , so we can mock this usin ... erator: >>> class Foo : ... def iter ( self ): ... for i in [ 1 , 2 , 3 ]: ... yield i ... >>> foo = Foo ... ors and how powerful they are is: Generator Tricks for Systems Programmers . 26.6.3.4. 同じパッチを全ての ...
https://man.plustar.jp/python/library/unittest.mock-examples.html - [similar]
8. 複合文 (compound statement) — Python 3.6.5 ドキュメント 6084
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ ... 連ねた単純な書き方もあります。 if 、 while 、および for 文は、伝統的な制御フロー構成を実現します。 try は例 ... になります: compound_stmt ::= if_stmt | while_stmt | for_stmt | try_stmt | with_stmt | funcdef | classdef | ... async_with_stmt | async_for_stmt | async_funcdef suite ::= stmt_list NEWLINE | ... の実行をスキップして、式の真偽評価に戻ります。 8.3. for 文 ¶ for 文は、シーケンス (文字列、タプルまたはリス ...
https://man.plustar.jp/python/reference/compound_stmts.html - [similar]
What's New in Python 2.3 — Python 3.6.5 ドキュメント 6084
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... ータ関数の最も単純な例です: def generate_ints ( N ): for i in range ( N ): yield i 新しいキーワード yield が ... " , line 2 , in generate_ints StopIteration 同じく for i in generate_ints(5) や a,b,c = generate_ints(3) ... Tree leaves in in-order. def inorder ( t ): if t : for x in inorder ( t . left ): yield x yield t . label ... for x in inorder ( t . right ): yield x ほかにも Lib/t ...
https://man.plustar.jp/python/whatsnew/2.3.html - [similar]
Logging クックブック — Python 3.6.5 ドキュメント 6054
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Logg ... dler () ch . setLevel ( logging . ERROR ) # create formatter and add it to the handlers formatter = loggi ... ng . Formatter ( ' %(asctime)s - %(name)s - %(levelname)s - ... %(message)s ' ) fh . setFormatter ( formatter ) ch . setFormatter ( formatter ... logging . basicConfig ( level = logging . DEBUG , format = ' %(relativeCreated)6d %(threadName)s %(messa ...
https://man.plustar.jp/python/howto/logging-cookbook.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 NEXT