Results of 1 - 10 of about 139 for alternative (0.008 sec.)
- email.message: Representing an email message — Python 3.14.8 ドキュメント 11820
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email.message : Representing an email message
...ist in the message, add it, set its value to text/plain , and append the new parameter value. Optional header specifies an alternative header to Content-Type . If the value contains non-ASCII characters, the charset and language may be explicitly specified...date "body" parts. That is, skip the first occurrence of each of text/plain , text/html , multipart/related , or multipart/alternative (unless they are explicitly marked as attachments via Content-Disposition: attachment ), and return all remaining parts. W...t parameter or the start parameter doesn't match the Content-ID of any of the parts). When applied directly to a multipart/alternative or a non- multipart , return an empty iterator. iter_parts ( ) ¶ Return an iterator over all of the immediate sub-parts of... - https://man.mtool.work/python/3.14/library/email.message.html
- email.message: Representing an email message — Python 3.14.8 ドキュメント 11820
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email.message : Representing an email message
...ist in the message, add it, set its value to text/plain , and append the new parameter value. Optional header specifies an alternative header to Content-Type . If the value contains non-ASCII characters, the charset and language may be explicitly specified...date "body" parts. That is, skip the first occurrence of each of text/plain , text/html , multipart/related , or multipart/alternative (unless they are explicitly marked as attachments via Content-Disposition: attachment ), and return all remaining parts. W...t parameter or the start parameter doesn't match the Content-ID of any of the parts). When applied directly to a multipart/alternative or a non- multipart , return an empty iterator. iter_parts ( ) ¶ Return an iterator over all of the immediate sub-parts of... - https://man.mtool.work/python/3.14/library/email.message.html
- 10. 完全な文法仕様 — Python 3.14.8 ドキュメント 10387
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 10. 完全な文法仕様 テーマ 自動 ライト ダーク | 10. 完全な文法仕様 ¶ 以下に示すのは Python の完全な文法です。CPython のパーサを生成するた
...eceding docs, and is described in the notation section, except for an extra complication: ~ ("cut"): commit to the current alternative; fail the rule if the alternative fails to parse Python mainly uses cuts for optimizations or improved error messages. The...f the first pass will be used (this avoids # reporting incorrect locations due to the invalid rules). # - The order of the alternatives involving invalid rules matter # (like any rule in PEG). # # Grammar Syntax (see PEP 617 for more information): # # rule_...void * is returned in C and an Any in # Python. # e1 e2 # Match e1, then match e2. # e1 | e2 # Match e1 or e2. # The first alternative can also appear on the line after the rule name for # formatting purposes. In that case, a | must be used before the first... - https://man.mtool.work/python/3.14/reference/grammar.html
- 10. 完全な文法仕様 — Python 3.14.8 ドキュメント 10387
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 10. 完全な文法仕様 テーマ 自動 ライト ダーク | 10. 完全な文法仕様 ¶ 以下に示すのは Python の完全な文法です。CPython のパーサを生成するた
...eceding docs, and is described in the notation section, except for an extra complication: ~ ("cut"): commit to the current alternative; fail the rule if the alternative fails to parse Python mainly uses cuts for optimizations or improved error messages. The...f the first pass will be used (this avoids # reporting incorrect locations due to the invalid rules). # - The order of the alternatives involving invalid rules matter # (like any rule in PEG). # # Grammar Syntax (see PEP 617 for more information): # # rule_...void * is returned in C and an Any in # Python. # e1 e2 # Match e1, then match e2. # e1 | e2 # Match e1 or e2. # The first alternative can also appear on the line after the rule name for # formatting purposes. In that case, a | must be used before the first... - https://man.mtool.work/python/3.14/reference/grammar.html
- 5. macOS で Python を使う — Python 3.14.8 ドキュメント 9432
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python のセットアップと利用 » 5. macOS で Python を使う テーマ 自動 ライト ダーク | 5. macOS で Python を使う ¶ This document aims to give an overview of macOS-s
...document describes use of the Pythons provided by the CPython release team for download from the python.org website . See Alternative Distributions for some other options. 5.1. Using Python for macOS from python.org ¶ 5.1.1. インストール手順 ¶ For current...nment variables in shell profiles. And, as with any other script or program, be certain of what you are about to run. 5.2. Alternative Distributions ¶ Besides the standard python.org for macOS installer, there are third-party distributions for macOS that ma...C is a Python binding to Apple's Objective-C/Cocoa framework. Information on PyObjC is available from pyobjc . A number of alternative macOS GUI toolkits are available including: PySide : Official Python bindings to the Qt GUI toolkit . PyQt : Alternative P... - https://man.mtool.work/python/3.14/using/mac.html
- 5. macOS で Python を使う — Python 3.14.8 ドキュメント 9432
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python のセットアップと利用 » 5. macOS で Python を使う テーマ 自動 ライト ダーク | 5. macOS で Python を使う ¶ This document aims to give an overview of macOS-s
...document describes use of the Pythons provided by the CPython release team for download from the python.org website . See Alternative Distributions for some other options. 5.1. Using Python for macOS from python.org ¶ 5.1.1. インストール手順 ¶ For current...nment variables in shell profiles. And, as with any other script or program, be certain of what you are about to run. 5.2. Alternative Distributions ¶ Besides the standard python.org for macOS installer, there are third-party distributions for macOS that ma...C is a Python binding to Apple's Objective-C/Cocoa framework. Information on PyObjC is available from pyobjc . A number of alternative macOS GUI toolkits are available including: PySide : Official Python bindings to the Qt GUI toolkit . PyQt : Alternative P... - https://man.mtool.work/python/3.14/using/mac.html
- fractions --- 有理数 — Python 3.14.8 ドキュメント 8238
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » fractions --- 有理数 テーマ 自動 ライト ダーク | fractions --- 有理数 ¶ ソースコード: Lib/fractions.py The f
...ion 3.8. is_integer ( ) ¶ Return True if the Fraction is an integer. Added in version 3.12. classmethod from_float ( f ) ¶ Alternative constructor which only accepts instances of float or numbers.Integral . Beware that Fraction.from_float(0.3) is not the sa...ython 3.2 以降では、 float から直接 Fraction インスタンスを構築できるようになりました。 classmethod from_decimal ( dec ) ¶ Alternative constructor which only accepts instances of decimal.Decimal or numbers.Integral . 注釈 Python 3.2 以降では、 decimal.Decim...al インスタンスから直接 Fraction インスタンスを構築できるようになりました。 classmethod from_number ( number ) ¶ Alternative constructor which only accepts instances of numbers.Integral , numbers.Rational , float or decimal.Decimal , and objects w... - https://man.mtool.work/python/3.14/library/fractions.html
- fractions --- 有理数 — Python 3.14.8 ドキュメント 8238
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » fractions --- 有理数 テーマ 自動 ライト ダーク | fractions --- 有理数 ¶ ソースコード: Lib/fractions.py The f
...ion 3.8. is_integer ( ) ¶ Return True if the Fraction is an integer. Added in version 3.12. classmethod from_float ( f ) ¶ Alternative constructor which only accepts instances of float or numbers.Integral . Beware that Fraction.from_float(0.3) is not the sa...ython 3.2 以降では、 float から直接 Fraction インスタンスを構築できるようになりました。 classmethod from_decimal ( dec ) ¶ Alternative constructor which only accepts instances of decimal.Decimal or numbers.Integral . 注釈 Python 3.2 以降では、 decimal.Decim...al インスタンスから直接 Fraction インスタンスを構築できるようになりました。 classmethod from_number ( number ) ¶ Alternative constructor which only accepts instances of numbers.Integral , numbers.Rational , float or decimal.Decimal , and objects w... - https://man.mtool.work/python/3.14/library/fractions.html
- email: 使用例 — Python 3.14.8 ドキュメント 7760
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email : 使用例 テーマ 自動 ライト ダーク | em
...recipe/Roasted-Asparagus-Epicurious-203718 --Pepé """ ) # Add the html version. This converts the message into a multipart/alternative # container, with the original text message as the first part and the new html # message as the second part. asparagus_cid...= make_msgid () msg . add_alternative ( """ \ <html> <head></head> <body> <p>Salut!</p> <p>Cette <a href="http://www.yummly.com/recipe/Roasted-Asparagus-Epicuri...)[: 3 ])) ans = input ( "View full message?" ) if ans . lower ()[ 0 ] == 'n' : sys . exit () # We can extract the richest alternative in order to display it: richest = msg . get_body () partfiles = {} if richest [ 'content-type' ] . maintype == 'text' : if... - https://man.mtool.work/python/3.14/library/email.examples.html
- typing --- 型ヒントのサポート — Python 3.14.8 ドキュメント 7760
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » typing --- 型ヒントのサポート テーマ 自動 ライト ダーク | typing --- 型ヒントのサポート ¶ Added in version 3.5. ソース
...eturn_self as being of type Foo rather than SubclassOfFoo . Other common use cases include: classmethod s that are used as alternative constructors and return instances of the cls parameter. Annotating an __enter__() method which returns self. You should no...checkable protocol can be surprisingly slow compared to an isinstance() check against a non-protocol class. Consider using alternative idioms such as hasattr() calls for structural checks in performance-sensitive code. Added in version 3.8. バージョン 3.12...ad' } # Fails type check assert Point2D ( x = 1 , y = 2 , label = 'first' ) == dict ( x = 1 , y = 2 , label = 'first' ) An alternative way to create a TypedDict is by using function-call syntax. The second argument must be a literal dict : Point2D = TypedDi... - https://man.mtool.work/python/3.14/library/typing.html