Results of 1 - 10 of about 58 for subtype (0.005 sec.)
- email.mime: Creating email and MIME objects from scratch — Python 3.14.8 ドキュ... 13334
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email.mime : Creating email and MIME objects
...ためにいくつかの便利なサブクラスを提供しています。 以下がそのサブクラスです: class email.mime.base. MIMEBase ( _maintype , _subtype , * , policy = compat32 , ** _params ) ¶ モジュール: email.mime.base これはすべての Message の MIME 用サブクラスの基底とな...めの便宜的な基底クラスとして提供されています。 _maintype は Content-Type の主形式 (maintype) であり ( text や image など)、 _subtype は Content-Type の副形式 (subtype) です ( plain や gif など)。 _params は各パラメータのキーと値を格納した辞書であり、これは...icy is specified, (defaults to the compat32 policy) it will be passed to Message . MIMEBase クラスはつねに ( _maintype 、 _subtype 、および _params にもとづいた) Content-Type ヘッダと、 MIME-Version ヘッダ (必ず 1.0 に設定される) を追加します。 バージョ... - https://man.mtool.work/python/3.14/library/email.mime.html
- email.mime: Creating email and MIME objects from scratch — Python 3.14.8 ドキュ... 13334
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email.mime : Creating email and MIME objects
...ためにいくつかの便利なサブクラスを提供しています。 以下がそのサブクラスです: class email.mime.base. MIMEBase ( _maintype , _subtype , * , policy = compat32 , ** _params ) ¶ モジュール: email.mime.base これはすべての Message の MIME 用サブクラスの基底とな...めの便宜的な基底クラスとして提供されています。 _maintype は Content-Type の主形式 (maintype) であり ( text や image など)、 _subtype は Content-Type の副形式 (subtype) です ( plain や gif など)。 _params は各パラメータのキーと値を格納した辞書であり、これは...icy is specified, (defaults to the compat32 policy) it will be passed to Message . MIMEBase クラスはつねに ( _maintype 、 _subtype 、および _params にもとづいた) Content-Type ヘッダと、 MIME-Version ヘッダ (必ず 1.0 に設定される) を追加します。 バージョ... - https://man.mtool.work/python/3.14/library/email.mime.html
- email.contentmanager: Managing MIME Content — Python 3.14.8 ドキュメント 11212
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email.contentmanager : Managing MIME Content
...ler, look for the following keys in the registry, stopping with the first one found: 完全な MIME 型を表す文字列 ( maintype/subtype ) maintype を表す文字列 空の文字列 If none of these keys produce a handler, raise a KeyError for the full MIME type. set_c...coding the payload to a string. The default error handler is replace . email.contentmanager. set_content ( msg , <'str'> , subtype="plain" , charset='utf-8' , cte=None , disposition=None , filename=None , cid=None , params=None , headers=None ) ¶ email....contentmanager. set_content ( msg , <'bytes'> , maintype , subtype , cte="base64" , disposition=None , filename=None , cid=None , params=None , headers=None ) email.contentmanager. set_cont... - https://man.mtool.work/python/3.14/library/email.contentmanager.html
- email.contentmanager: Managing MIME Content — Python 3.14.8 ドキュメント 11212
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email.contentmanager : Managing MIME Content
...ler, look for the following keys in the registry, stopping with the first one found: 完全な MIME 型を表す文字列 ( maintype/subtype ) maintype を表す文字列 空の文字列 If none of these keys produce a handler, raise a KeyError for the full MIME type. set_c...coding the payload to a string. The default error handler is replace . email.contentmanager. set_content ( msg , <'str'> , subtype="plain" , charset='utf-8' , cte=None , disposition=None , filename=None , cid=None , params=None , headers=None ) ¶ email....contentmanager. set_content ( msg , <'bytes'> , maintype , subtype , cte="base64" , disposition=None , filename=None , cid=None , params=None , headers=None ) email.contentmanager. set_cont... - https://man.mtool.work/python/3.14/library/email.contentmanager.html
- email: 使用例 — Python 3.14.8 ドキュメント 8416
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email : 使用例 テーマ 自動 ライト ダーク | em
...preamble = 'You will not see this in a MIME-aware mail reader. \n ' # Open the files in binary mode. You can also omit the subtype # if you want MIMEImage to guess it. for file in pngfiles : with open ( file , 'rb' ) as fp : img_data = fp . read () msg.... add_attachment ( img_data , maintype = 'image' , subtype = 'png' ) # Send the email via our own SMTP server. with smtplib . SMTP ( 'localhost' ) as s : s . send_message ( msg ) つ...e, or the file is encoded (compressed), so # use a generic bag-of-bits type. ctype = 'application/octet-stream' maintype , subtype = ctype . split ( '/' , 1 ) with open ( path , 'rb' ) as fp : msg . add_attachment ( fp . read (), maintype = maintype , s... - https://man.mtool.work/python/3.14/library/email.examples.html
- email: 使用例 — Python 3.14.8 ドキュメント 8416
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email : 使用例 テーマ 自動 ライト ダーク | em
...preamble = 'You will not see this in a MIME-aware mail reader. \n ' # Open the files in binary mode. You can also omit the subtype # if you want MIMEImage to guess it. for file in pngfiles : with open ( file , 'rb' ) as fp : img_data = fp . read () msg.... add_attachment ( img_data , maintype = 'image' , subtype = 'png' ) # Send the email via our own SMTP server. with smtplib . SMTP ( 'localhost' ) as s : s . send_message ( msg ) つ...e, or the file is encoded (compressed), so # use a generic bag-of-bits type. ctype = 'application/octet-stream' maintype , subtype = ctype . split ( '/' , 1 ) with open ( path , 'rb' ) as fp : msg . add_attachment ( fp . read (), maintype = maintype , s... - https://man.mtool.work/python/3.14/library/email.examples.html
- email.iterators: イテレータ — Python 3.14.8 ドキュメント 8094
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email.iterators : イテレータ テーマ 自動 ライ
...decode は、 Message.get_payload にそのまま渡されます。 email.iterators. typed_subpart_iterator ( msg , maintype = 'text' , subtype = None ) ¶ このイテレータは msg 中のすべてのサブパートをたどり、それらの中で指定されたMIME 形式 maintype と subtype をもつ...ようなパートのみを返します。 subtype は省略可能であることに注意してください。これが省略された場合、サブパートの MIME 形式は maintype のみがチェックされます。じ...関連キーワード text message plain email msg iterators サブパート rfc すべて maintype イテレータ level iterator ペイロード subtype 省略 場合 over object Message 前のトピックへ email.utils : Miscellaneous utilities 次のトピックへ json --- JSON エンコーダ... - https://man.mtool.work/python/3.14/library/email.iterators.html
- email.iterators: イテレータ — Python 3.14.8 ドキュメント 8094
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email.iterators : イテレータ テーマ 自動 ライ
...decode は、 Message.get_payload にそのまま渡されます。 email.iterators. typed_subpart_iterator ( msg , maintype = 'text' , subtype = None ) ¶ このイテレータは msg 中のすべてのサブパートをたどり、それらの中で指定されたMIME 形式 maintype と subtype をもつ...ようなパートのみを返します。 subtype は省略可能であることに注意してください。これが省略された場合、サブパートの MIME 形式は maintype のみがチェックされます。じ...型も出力します。 関連キーワード text message plain email iterators サブパート maintype イテレータ level iterator ペイロード subtype 省略 over Message decode ヘッダ メッセージ typed subpart None structure default multipart ソースコード 前のトピックへ emai... - https://man.mtool.work/python/3.14/library/email.iterators.html
- Type Object Structures — Python 3.14.8 ドキュメント 7918
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Type Object Structures テーマ 自動 ライト ダーク | Type Object Structu
...e base type. In other words, tp_basicsize must be greater than or equal to the base's tp_basicsize . Since every type is a subtype of object , this struct must include PyObject or PyVarObject (depending on whether ob_size should be included). These are...s your responsibility that both fields are a multiple of _Alignof(double) . 継承: These fields are inherited separately by subtypes. (That is, if the field is set to zero, PyType_Ready() will copy the value from the base type, indicating that the instan...the base type has a non-zero tp_itemsize , it is generally not safe to set tp_itemsize to a different non-zero value in a subtype (though this depends on the implementation of the base type). destructor PyTypeObject . tp_dealloc ¶ The corresponding slo... - https://man.mtool.work/python/3.14/c-api/typeobj.html
- Type Object Structures — Python 3.14.8 ドキュメント 7918
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Type Object Structures テーマ 自動 ライト ダーク | Type Object Structu
...e base type. In other words, tp_basicsize must be greater than or equal to the base's tp_basicsize . Since every type is a subtype of object , this struct must include PyObject or PyVarObject (depending on whether ob_size should be included). These are...s your responsibility that both fields are a multiple of _Alignof(double) . 継承: These fields are inherited separately by subtypes. (That is, if the field is set to zero, PyType_Ready() will copy the value from the base type, indicating that the instan...the base type has a non-zero tp_itemsize , it is generally not safe to set tp_itemsize to a different non-zero value in a subtype (though this depends on the implementation of the base type). destructor PyTypeObject . tp_dealloc ¶ The corresponding slo... - https://man.mtool.work/python/3.14/c-api/typeobj.html