Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 218 for from (0.021 sec.)
19.1.8. email: 使用例 — Python 3.6.5 ドキュメント 11055
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... port smtplib # Import the email modules we'll need from email.message import EmailMessage # Open the plain ... bject' ] = 'The contents of %s ' % textfile msg [ 'From' ] = me msg [ 'To' ] = you # Send the message via ... eaders can easily be done by the using the classes from the parser module: # Import the email modules we'l ... l need from email.parser import BytesParser , Parser from emai ...
https://man.plustar.jp/python/library/email.examples.html - [similar]
19.1.3. email.generator: MIME 文書の生成 — Python 3.6.5 ドキュメント 9767
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... lity of the bundled generator; you could write one from scratch yourself. However the bundled generator kn ... s email.generator. BytesGenerator ( outfp , mangle_from_=None , maxheaderlen=None , * , policy=None ) ¶ Re ... ethod that accepts binary data. If optional mangle_from_ is True , put a > character in front of any line ... in the body that starts with the exact string "From " , that is From followed by a space at the beginn ...
https://man.plustar.jp/python/library/email.generator.html - [similar]
19.1.2. email.parser: 電子メールメッセージのパース — Python 3.6.5 ドキュメント 9348
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... be created in one of two ways: they can be created from whole cloth by creating an EmailMessage object, ad ... or MIME messages, the root object will return True from its is_multipart() method, and the subparts can be ... more appropriate when you are reading the message from a stream which might block waiting for more input ... (such as reading an email message from a socket). The FeedParser can consume and parse th ...
https://man.plustar.jp/python/library/email.parser.html - [similar]
29.6. contextlib --- with 文コンテキスト用ユーティリティ — Python 3.6.5 ドキュ... 8888
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ot recommended as a real way of generating HTML!): from contextlib import contextmanager @contextmanager d ... マネージャを返します。これは基本的に以下と等価です: from contextlib import contextmanager @contextmanager d ... lose する必要なしに、次のように書くことができます: from contextlib import closing from urllib.request impo ... をカバーする以上の使い方はしてはいけません。 例えば: from contextlib import suppress with suppress ( FileNot ...
https://man.plustar.jp/python/library/contextlib.html - [similar]
18.5.9. asyncio での開発 — Python 3.6.5 ドキュメント 7799
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... す。 デバッグチェックの例: 定義されているが "yielded from" されなかったコルーチン のログを取ります 誤ったスレ ... celled (): return # ... slow computation ... yield from fut # ... shield() 関数も、キャンセルを無視するため ... で実行されることはありません。ただし、タスクが yield from を使用するとそのタスクはサスペンドされ、イベントル ... routine test () at test . py : 3 was never yielded from Coroutine object created at ( most recent call las ...
https://man.plustar.jp/python/library/asyncio-dev.html - [similar]
Pythonモジュール索引 — Python 3.6.5 ドキュメント 7799
ナビゲーション 索引 モジュール | Python » 3.6.5 ドキュメント » Pythonモジュール索引 _ | a | b | ... passwords. csv Write and read tabular data to and from delimited files. ctypes A foreign function library ... distutils.command.install_data Install data files from a package distutils.command.install_headers Instal ... l C/C++ header files from a package distutils.command.install_lib Install li ... brary files from a package distutils.command.install_scripts Instal ...
https://man.plustar.jp/python/py-modindex.html - [similar]
19.4. mailbox --- 様々な形式のメールボックス操作 — Python 3.6.5 ドキュメント 7746
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... つのファイルに保存されておりそれぞれのメッセージは "From " という5文字で始まる行を先頭に付けられています。 ... しあっても無視され、メッセージのボディにある行頭の "From " はメッセージを保存する際に ">From " に変換されま ... すが、この ">From " は読み出し時にも "From " に変換されません。 mbox ... mbox 形式と同じようにそれぞれのメッセージの開始は "From " の5文字を含む行で示されますが、それ以外の場所での ...
https://man.plustar.jp/python/library/mailbox.html - [similar]
7. 使用例 — Python 3.6.5 ドキュメント 7642
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python モジュールの ... ための最小の setup スクリプトは以下のようになります: from distutils.core import setup setup ( name = 'foo' , ... また、セットアップスクリプトは以下のようになります from distutils.core import setup setup ( name = 'foobar ... はなりません)。 最後の例で挙げた setup スクリプトは from distutils.core import setup setup ( name = 'foobar ... がどこにあるかを Distutils に教えなければなりません: from distutils.core import setup setup ( name = 'foobar ...
https://man.plustar.jp/python/distutils/examples.html - [similar]
19.1.4. email.policy: ポリシーオブジェクト — Python 3.6.5 ドキュメント 7589
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... sed to a generator , the generator uses the policy from the message by default, but you can also pass a sp ... lowing code could be used to read an email message from a file on disk and pass it to the system sendmail ... program on a Unix system: >>> from email import message_from_binary_file >>> from ema ... il.generator import BytesGenerator >>> from email import policy >>> from subprocess import Pop ...
https://man.plustar.jp/python/library/email.policy.html - [similar]
21.17. smtplib --- SMTP プロトコルクライアント — Python 3.6.5 ドキュメント 7589
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... matically when the with statement exits. E.g.: >>> from smtplib import SMTP >>> with SMTP ( "domain.org" ) ... hould be used for situations where SSL is required from the beginning of the connection and using starttls ... stead of the base SMTPException . SMTP. sendmail ( from_addr , to_addrs , msg , mail_options=[] , rcpt_opt ... =[] ) ¶ メールを送信します。必要な引数は RFC 822 のfromアドレス文字列、 RFC 822 のtoアドレス文字列またはアド ...
https://man.plustar.jp/python/library/smtplib.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 NEXT