Results of 1 - 10 of about 80 for Subject (0.008 sec.)
- 8. 複合文 (compound statement) — Python 3.14.8 ドキュメント 12752
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 8. 複合文 (compound statement) テーマ 自動 ライト ダーク | 8. 複合文 (compound statement) ¶ 複合文には、他の文 (のグループ) が入ります;
...す。 8.6. match 文 ¶ Added in version 3.10. match 文はパターンマッチングを行う目的で使われます。 構文: match_stmt : 'match' subject_expr ":" NEWLINE INDENT case_block + DEDENT subject_expr : flexible_expression "," [ flexible_expression_list [ ',' ]] | a...636 -- 構造的パターンマッチ: チュートリアル 8.6.1. 概要 ¶ match 文の論理的な動作の流れの概要は次の通りです: サブジェクト式 subject_expr が評価され、サブジェクト値が得られます。 サブジェクト式がコンマを含む場合、 通常のルール に従ってタプルが作成されます...。 capture_pattern として _ を指定することはできません。 簡単に言うと、 P as NAME は P をマッチさせ、成功した場合に NAME = <subject> の代入を行います。 8.6.4.3. リテラルパターン ¶ リテラルパターンは、一部を除く Python の リテラル に対応します。 構文: lit... - https://man.mtool.work/python/3.14/reference/compound_stmts.html
- 8. 複合文 (compound statement) — Python 3.14.8 ドキュメント 12752
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 8. 複合文 (compound statement) テーマ 自動 ライト ダーク | 8. 複合文 (compound statement) ¶ 複合文には、他の文 (のグループ) が入ります;
...す。 8.6. match 文 ¶ Added in version 3.10. match 文はパターンマッチングを行う目的で使われます。 構文: match_stmt : 'match' subject_expr ":" NEWLINE INDENT case_block + DEDENT subject_expr : flexible_expression "," [ flexible_expression_list [ ',' ]] | a...636 -- 構造的パターンマッチ: チュートリアル 8.6.1. 概要 ¶ match 文の論理的な動作の流れの概要は次の通りです: サブジェクト式 subject_expr が評価され、サブジェクト値が得られます。 サブジェクト式がコンマを含む場合、 通常のルール に従ってタプルが作成されます...。 capture_pattern として _ を指定することはできません。 簡単に言うと、 P as NAME は P をマッチさせ、成功した場合に NAME = <subject> の代入を行います。 8.6.4.3. リテラルパターン ¶ リテラルパターンは、一部を除く Python の リテラル に対応します。 構文: lit... - https://man.mtool.work/python/3.14/reference/compound_stmts.html
- email: 使用例 — Python 3.14.8 ドキュメント 10287
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email : 使用例 テーマ 自動 ライト ダーク | em
...sage () msg . set_content ( fp . read ()) # me == the sender's email address # you == the recipient's email address msg [ 'Subject' ] = f 'The contents of { textfile } ' msg [ 'From' ] = me msg [ 'To' ] = you # Send the message via our own SMTP server....rs = Parser ( policy = default ) . parsestr ( 'From: Foo Bar <user@example.com> \n ' 'To: <someone_else@example.com> \n ' 'Subject: Test message \n ' ' \n ' 'Body would go here \n ' ) # Now the header items can be accessed as a dictionary: print ( 'To:...{} ' . format ( headers [ 'to' ])) print ( 'From: {} ' . format ( headers [ 'from' ])) print ( 'Subject: {} ' . format ( headers [ 'subject' ])) # You can also access the parts of the addresses: print ( 'Recipient username: {}... - https://man.mtool.work/python/3.14/library/email.examples.html
- ast --- Abstract syntax trees — Python 3.14.8 ドキュメント 9985
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » ast --- Abstract syntax trees テーマ 自動 ライト ダーク | ast --- Abstract syntax trees ¶ ソースコード: Lib/as
...tmt * body , string ? type_comment ) | AsyncWith ( withitem * items , stmt * body , string ? type_comment ) | Match ( expr subject , match_case * cases ) | Raise ( expr ? exc , expr ? cause ) | Try ( stmt * body , excepthandler * handlers , stmt * orels...hing', ctx=Load()), args=[ Name(id='b', ctx=Load()), Name(id='d', ctx=Load())]))])]) Pattern matching ¶ class ast. Match ( subject , cases ) ¶ A match statement. subject holds the subject of the match (the object that is being matched against the cases)..._case ( pattern , guard , body ) ¶ A single case pattern in a match statement. pattern contains the match pattern that the subject will be matched against. Note that the AST nodes produced for patterns differ from those produced for expressions, even wh... - https://man.mtool.work/python/3.14/library/ast.html
- ast --- Abstract syntax trees — Python 3.14.8 ドキュメント 9985
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » ast --- Abstract syntax trees テーマ 自動 ライト ダーク | ast --- Abstract syntax trees ¶ ソースコード: Lib/as
...tmt * body , string ? type_comment ) | AsyncWith ( withitem * items , stmt * body , string ? type_comment ) | Match ( expr subject , match_case * cases ) | Raise ( expr ? exc , expr ? cause ) | Try ( stmt * body , excepthandler * handlers , stmt * orels...hing', ctx=Load()), args=[ Name(id='b', ctx=Load()), Name(id='d', ctx=Load())]))])]) Pattern matching ¶ class ast. Match ( subject , cases ) ¶ A match statement. subject holds the subject of the match (the object that is being matched against the cases)..._case ( pattern , guard , body ) ¶ A single case pattern in a match statement. pattern contains the match pattern that the subject will be matched against. Note that the AST nodes produced for patterns differ from those produced for expressions, even wh... - https://man.mtool.work/python/3.14/library/ast.html
- email: 使用例 — Python 3.14.8 ドキュメント 9889
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email : 使用例 テーマ 自動 ライト ダーク | em
...sage () msg . set_content ( fp . read ()) # me == the sender's email address # you == the recipient's email address msg [ 'Subject' ] = f 'The contents of { textfile } ' msg [ 'From' ] = me msg [ 'To' ] = you # Send the message via our own SMTP server....rs = Parser ( policy = default ) . parsestr ( 'From: Foo Bar <user@example.com> \n ' 'To: <someone_else@example.com> \n ' 'Subject: Test message \n ' ' \n ' 'Body would go here \n ' ) # Now the header items can be accessed as a dictionary: print ( 'To:...{} ' . format ( headers [ 'to' ])) print ( 'From: {} ' . format ( headers [ 'from' ])) print ( 'Subject: {} ' . format ( headers [ 'subject' ])) # You can also access the parts of the addresses: print ( 'Recipient username: {}... - https://man.mtool.work/python/3.14/library/email.examples.html
- 歴史とライセンス — Python 3.14.8 ドキュメント 8999
- ナビゲーション 索引 モジュール | 前へ | Python » 3.14.8 Documentation » 歴史とライセンス テーマ 自動 ライト ダーク | 歴史とライセンス ¶ Python の歴史 ¶ Python was created in the early 1990s by Guido van Rossum at Stichting Mathematisch Cent
...see") accessing and otherwise using this software ("Python") in source or binary form and its associated documentation. 2. Subject to the terms and conditions of this License Agreement, PSF hereby grants Licensee a nonexclusive, royalty-free, world-wide...accessing and otherwise using this software in source or binary form and its associated documentation ("the Software"). 2. Subject to the terms and conditions of this BeOpen Python License Agreement, BeOpen hereby grants Licensee a non-exclusive, royalt...censee") accessing and otherwise using Python 1.6.1 software in source or binary form and its associated documentation. 2. Subject to the terms and conditions of this License Agreement, CNRI hereby grants Licensee a nonexclusive, royalty-free, world-wid... - https://man.mtool.work/python/3.14/license.html
- 歴史とライセンス — Python 3.14.8 ドキュメント 8999
- ナビゲーション 索引 モジュール | 前へ | Python » 3.14.8 Documentation » 歴史とライセンス テーマ 自動 ライト ダーク | 歴史とライセンス ¶ Python の歴史 ¶ Python was created in the early 1990s by Guido van Rossum at Stichting Mathematisch Cent
...see") accessing and otherwise using this software ("Python") in source or binary form and its associated documentation. 2. Subject to the terms and conditions of this License Agreement, PSF hereby grants Licensee a nonexclusive, royalty-free, world-wide...accessing and otherwise using this software in source or binary form and its associated documentation ("the Software"). 2. Subject to the terms and conditions of this BeOpen Python License Agreement, BeOpen hereby grants Licensee a non-exclusive, royalt...censee") accessing and otherwise using Python 1.6.1 software in source or binary form and its associated documentation. 2. Subject to the terms and conditions of this License Agreement, CNRI hereby grants Licensee a nonexclusive, royalty-free, world-wid... - https://man.mtool.work/python/3.14/license.html
- email.header: 国際化されたヘッダー — Python 3.14.8 ドキュメント 8794
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email.header : 国際化されたヘッダー テーマ 自
...its email.header and email.charset modules. If you want to include non-ASCII characters in your email headers, say in the Subject or To fields, you should use the Header class and assign the field in the Message object to an instance of Header instead...essage >>> from email.header import Header >>> msg = Message () >>> h = Header ( 'p \xf6 stal' , 'iso-8859-1' ) >>> msg [ 'Subject' ] = h >>> msg . as_string () 'Subject: =?iso-8859-1?q?p=F6stal?=\n\n' Notice here how we wanted the Subject field to cont...instance and passing in the character set to use when encoding it. When the subsequent Message instance was flattened, the Subject field was properly RFC 2047 encoded. MIME-aware mail readers would show this header using the embedded ISO-8859-1 characte... - https://man.mtool.work/python/3.14/library/email.header.html
- email.header: 国際化されたヘッダー — Python 3.14.8 ドキュメント 8794
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email.header : 国際化されたヘッダー テーマ 自
...its email.header and email.charset modules. If you want to include non-ASCII characters in your email headers, say in the Subject or To fields, you should use the Header class and assign the field in the Message object to an instance of Header instead...essage >>> from email.header import Header >>> msg = Message () >>> h = Header ( 'p \xf6 stal' , 'iso-8859-1' ) >>> msg [ 'Subject' ] = h >>> msg . as_string () 'Subject: =?iso-8859-1?q?p=F6stal?=\n\n' Notice here how we wanted the Subject field to cont...instance and passing in the character set to use when encoding it. When the subsequent Message instance was flattened, the Subject field was properly RFC 2047 encoded. MIME-aware mail readers would show this header using the embedded ISO-8859-1 characte... - https://man.mtool.work/python/3.14/library/email.header.html