Results of 1 - 10 of about 279 for Part (0.059 sec.)
- Type Object Structures — Python 3.14.8 ドキュメント 12981
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Type Object Structures テーマ 自動 ライト ダーク | Type Object Structu
...; for built-in types, it should be just the type name. If the module is a submodule of a package, the full package name is part of the full module name. For example, a type named T defined in module M in subpackage Q in package P should have the tp_n...Object_HEAD or PyObject_VAR_HEAD , respectively. The basic size does not include the GC header size, as that header is not part of PyObject_HEAD . For cases where struct used to declare the base type is unknown, see PyType_Spec.basicsize and PyType_F...struct , or when using compiler extensions like __attribute__((packed)) , it is up to you. If the variable items require a particular alignment, tp_basicsize and tp_itemsize must each be a multiple of that alignment. For example, if a type's variable... - https://man.mtool.work/python/3.14/c-api/typeobj.html
- Type Object Structures — Python 3.14.8 ドキュメント 12981
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Type Object Structures テーマ 自動 ライト ダーク | Type Object Structu
...; for built-in types, it should be just the type name. If the module is a submodule of a package, the full package name is part of the full module name. For example, a type named T defined in module M in subpackage Q in package P should have the tp_n...Object_HEAD or PyObject_VAR_HEAD , respectively. The basic size does not include the GC header size, as that header is not part of PyObject_HEAD . For cases where struct used to declare the base type is unknown, see PyType_Spec.basicsize and PyType_F...struct , or when using compiler extensions like __attribute__((packed)) , it is up to you. If the variable items require a particular alignment, tp_basicsize and tp_itemsize must each be a multiple of that alignment. For example, if a type's variable... - https://man.mtool.work/python/3.14/c-api/typeobj.html
- email.message: Representing an email message — Python 3.14.8 ドキュメント 9176
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email.message : Representing an email message
...C 5322 or RFC 6532 style field names and values, where the field name and value are separated by a colon. The colon is not part of either the field name or the field value. The payload may be a simple text message, or a binary object, or a structured...t of headers and their own payload. The latter type of payload is indicated by the message having a MIME type such as multipart/* or message/rfc822 . The conceptual model provided by an EmailMessage object is that of an ordered dictionary of headers...bject, in the case of simple message objects, or a list of EmailMessage objects, for MIME container documents such as multipart/* and message/rfc822 message objects. class email.message. EmailMessage ( policy = default ) ¶ If policy is specified use... - https://man.mtool.work/python/3.14/library/email.message.html
- email.message: Representing an email message — Python 3.14.8 ドキュメント 9109
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email.message : Representing an email message
...C 5322 or RFC 6532 style field names and values, where the field name and value are separated by a colon. The colon is not part of either the field name or the field value. The payload may be a simple text message, or a binary object, or a structured...t of headers and their own payload. The latter type of payload is indicated by the message having a MIME type such as multipart/* or message/rfc822 . The conceptual model provided by an EmailMessage object is that of an ordered dictionary of headers...bject, in the case of simple message objects, or a list of EmailMessage objects, for MIME container documents such as multipart/* and message/rfc822 message objects. class email.message. EmailMessage ( policy = default ) ¶ If policy is specified use... - https://man.mtool.work/python/3.14/library/email.message.html
- email: 使用例 — Python 3.14.8 ドキュメント 8905
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email : 使用例 テーマ 自動 ライト ダーク | em
...: {} ' . format ( headers [ 'from' ])) print ( 'Subject: {} ' . format ( headers [ 'subject' ])) # You can also access the parts of the addresses: print ( 'Recipient username: {} ' . format ( headers [ 'to' ] . addresses [ 0 ] . username )) print ( '..._binary_file ( fp , policy = default ) try : os . mkdir ( args . directory ) except FileExistsError : pass counter = 1 for part in msg . walk (): # multipart/* are just containers if part . get_content_maintype () == 'multipart' : continue # Applicat...should really sanitize the given filename so that an # email message can't be used to overwrite important files filename = part . get_filename () if not filename : ext = mimetypes . guess_extension ( part . get_content_type ()) if not ext : # Use a g... - https://man.mtool.work/python/3.14/library/email.examples.html
- email: 使用例 — Python 3.14.8 ドキュメント 8905
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email : 使用例 テーマ 自動 ライト ダーク | em
...: {} ' . format ( headers [ 'from' ])) print ( 'Subject: {} ' . format ( headers [ 'subject' ])) # You can also access the parts of the addresses: print ( 'Recipient username: {} ' . format ( headers [ 'to' ] . addresses [ 0 ] . username )) print ( '..._binary_file ( fp , policy = default ) try : os . mkdir ( args . directory ) except FileExistsError : pass counter = 1 for part in msg . walk (): # multipart/* are just containers if part . get_content_maintype () == 'multipart' : continue # Applicat...should really sanitize the given filename so that an # email message can't be used to overwrite important files filename = part . get_filename () if not filename : ext = mimetypes . guess_extension ( part . get_content_type ()) if not ext : # Use a g... - https://man.mtool.work/python/3.14/library/email.examples.html
- 変更履歴 — Python 3.14.8 ドキュメント 6727
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...p_bio() now validates its server_side , server_hostname and session arguments similar to ssl.SSLContext.wrap_socket() . In particular, a context with check_hostname enabled and no server_hostname passed to wrap_bio() now raises ValueError instead of...} or the conversion ( ! ), format ( : ), or debug ( = ) delimiter. Explicit line continuations following a debug = remain part of the debug text and are excluded from expression . Escaped quotes are now preserved while reconstructing t-string interp...her() leaving stale await-graph edges on children that outlive it. gh-156002 : zipfile again reads members through a third-party decompressor installed by monkey-patching the private _get_decompressor() to return an object that only implements old BZ... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- cmath --- 複素数用の数学関数 — Python 3.14.8 ドキュメント 6592
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » cmath --- 複素数用の数学関数 テーマ 自動 ライト ダーク | cmath --- 複素数用の数学関数 ¶ このモジュールは、複
...of the branch cut from the other: for a branch cut along (a portion of) the real axis we look at the sign of the imaginary part, while for a branch cut along the imaginary axis we look at the sign of the real part. For example, the cmath.sqrt() funct...complex number z is stored internally using rectangular or Cartesian coordinates. It is completely determined by its real part z.real and its imaginary part z.imag . 極座標 は複素数を表現する別の方法です。極座標では、複素数 z は半径 r と位相角 phi で...( z ) ¶ Return the hyperbolic tangent of z . 類別関数 ¶ cmath. isfinite ( z ) ¶ Return True if both the real and imaginary parts of z are finite, and False otherwise. Added in version 3.2. cmath. isinf ( z ) ¶ Return True if either the real or the im... - https://man.mtool.work/python/3.14/library/cmath.html
- email.contentmanager: Managing MIME Content — Python 3.14.8 ドキュメント 6456
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email.contentmanager : Managing MIME Content
...e a handler, raise a KeyError for the full MIME type. set_content ( msg , obj , * args , ** kw ) ¶ If the maintype is multipart , raise a TypeError ; otherwise look up a handler function based on the type of obj (see next paragraph), call clear_conte...se a KeyError for the fully qualified name of the type. Also add a MIME-Version header if one is not present (see also MIMEPart ). add_get_handler ( key , handler ) ¶ Record the function handler as the handler for key . For the possible values of key...tes, and Message objects. Nevertheless, it provides significant advantages compared to the base API: get_content on a text part will return a string without the application needing to manually decode it, set_content provides a rich set of options for... - https://man.mtool.work/python/3.14/library/email.contentmanager.html
- cmath --- 複素数用の数学関数 — Python 3.14.8 ドキュメント 6321
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » cmath --- 複素数用の数学関数 テーマ 自動 ライト ダーク | cmath --- 複素数用の数学関数 ¶ このモジュールは、複
...of the branch cut from the other: for a branch cut along (a portion of) the real axis we look at the sign of the imaginary part, while for a branch cut along the imaginary axis we look at the sign of the real part. For example, the cmath.sqrt() funct...complex number z is stored internally using rectangular or Cartesian coordinates. It is completely determined by its real part z.real and its imaginary part z.imag . 極座標 は複素数を表現する別の方法です。極座標では、複素数 z は半径 r と位相角 phi で...( z ) ¶ Return the hyperbolic tangent of z . 類別関数 ¶ cmath. isfinite ( z ) ¶ Return True if both the real and imaginary parts of z are finite, and False otherwise. Added in version 3.2. cmath. isinf ( z ) ¶ Return True if either the real or the im... - https://man.mtool.work/python/3.14/library/cmath.html