per page, with , order by , clip by
Results of 1 - 10 of about 343 for except (0.006 sec.)
8. エラーと例外 — Python 3.14.8 ドキュメント 12140
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 8. エラーと例外 テーマ 自動 ライト ダーク | 8. エラーと例外 ¶ これまでエラーメッセージについては簡単に触れるだけでしたが、チュートリアル中 ... 見ていることでしょう。エラーには (少なくとも) 二つのはっきり異なる種類があります。それは 構文エラー (syntax error) と 例外 (exception) です。 8.1. 構文エラー ¶ 構文エラーは構文解析エラー (parsing error) としても知られており、Python を勉強している間に最も ... ¶ たとえ文や式が構文的に正しくても、実行しようとしたときにエラーが発生するかもしれません。実行中に検出されたエラーは 例外 (exception) と呼ばれ、常に致命的とは限りません。これから、Python プログラムで例外をどのように扱うかを学んでいきます。ほとんどの例外 ... ということに注意してください。 >>> while True : ... try : ... x = int ( input ( "数字を入力してください: " )) ... break ... except ValueError : ... print ( "おっと!それは数字ではないようです。もう一度入力してください..." ) ... try 文は下記のように動作し ...
https://man.mtool.work/python/3.14/tutorial/errors.html
8. エラーと例外 — Python 3.14.8 ドキュメント 12140
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 8. エラーと例外 テーマ 自動 ライト ダーク | 8. エラーと例外 ¶ これまでエラーメッセージについては簡単に触れるだけでしたが、チュートリアル中 ... 見ていることでしょう。エラーには (少なくとも) 二つのはっきり異なる種類があります。それは 構文エラー (syntax error) と 例外 (exception) です。 8.1. 構文エラー ¶ 構文エラーは構文解析エラー (parsing error) としても知られており、Python を勉強している間に最も ... ¶ たとえ文や式が構文的に正しくても、実行しようとしたときにエラーが発生するかもしれません。実行中に検出されたエラーは 例外 (exception) と呼ばれ、常に致命的とは限りません。これから、Python プログラムで例外をどのように扱うかを学んでいきます。ほとんどの例外 ... ということに注意してください。 >>> while True : ... try : ... x = int ( input ( "数字を入力してください: " )) ... break ... except ValueError : ... print ( "おっと!それは数字ではないようです。もう一度入力してください..." ) ... try 文は下記のように動作し ...
https://man.mtool.work/python/3.14/tutorial/errors.html
8. 複合文 (compound statement) — Python 3.14.8 ドキュメント 11390
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 8. 複合文 (compound statement) テーマ 自動 ライト ダーク | 8. 複合文 (compound statement) ¶ 複合文には、他の文 (のグループ) が入ります; ... 理および/またはクリーンアップコードを指定します: try_stmt : try1_stmt | try2_stmt | try3_stmt try1_stmt : "try" ":" suite ( "except" [ expression [ "as" identifier ]] ":" suite )+ [ "else" ":" suite ] [ "finally" ":" suite ] try2_stmt : "try" ":" suite ( ... "except" "*" expression [ "as" identifier ] ":" suite )+ [ "else" ":" suite ] [ "finally" ":" suite ] try3_stmt : "try" ":" suite ... 、 raise 文 節にあります。 バージョン 3.14 で変更: Support for optionally dropping grouping parentheses when using multiple exception types. See PEP 758 . 8.4.1. except 節 ¶ The except clause(s) specify one or more exception handlers. When no exception ...
https://man.mtool.work/python/3.14/reference/compound_stmts.html
8. 複合文 (compound statement) — Python 3.14.8 ドキュメント 11390
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 8. 複合文 (compound statement) テーマ 自動 ライト ダーク | 8. 複合文 (compound statement) ¶ 複合文には、他の文 (のグループ) が入ります; ... 理および/またはクリーンアップコードを指定します: try_stmt : try1_stmt | try2_stmt | try3_stmt try1_stmt : "try" ":" suite ( "except" [ expression [ "as" identifier ]] ":" suite )+ [ "else" ":" suite ] [ "finally" ":" suite ] try2_stmt : "try" ":" suite ( ... "except" "*" expression [ "as" identifier ] ":" suite )+ [ "else" ":" suite ] [ "finally" ":" suite ] try3_stmt : "try" ":" suite ... 、 raise 文 節にあります。 バージョン 3.14 で変更: Support for optionally dropping grouping parentheses when using multiple exception types. See PEP 758 . 8.4.1. except 節 ¶ The except clause(s) specify one or more exception handlers. When no exception ...
https://man.mtool.work/python/3.14/reference/compound_stmts.html
10. 完全な文法仕様 — Python 3.14.8 ドキュメント 6680
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 10. 完全な文法仕様 テーマ 自動 ライト ダーク | 10. 完全な文法仕様 ¶ 以下に示すのは Python の完全な文法です。CPython のパーサを生成するた ... したバージョンです。 The notation used here is the same as in the preceding 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 P ... ,' | ')' | ':' ) | expression # Try statement # ------------- try_stmt : | 'try' ':' block finally_block | 'try' ':' block except_block + [ else_block ] [ finally_block ] | 'try' ':' block except_star_block + [ else_block ] [ finally_block ] # Except s ... tatement # ---------------- except_block : | 'except' expression ':' block | 'except' expression 'as' NAME ':' block | 'except' expressions ':' block | 'exce ...
https://man.mtool.work/python/3.14/reference/grammar.html
10. 完全な文法仕様 — Python 3.14.8 ドキュメント 6680
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 10. 完全な文法仕様 テーマ 自動 ライト ダーク | 10. 完全な文法仕様 ¶ 以下に示すのは Python の完全な文法です。CPython のパーサを生成するた ... したバージョンです。 The notation used here is the same as in the preceding 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 P ... ,' | ')' | ':' ) | expression # Try statement # ------------- try_stmt : | 'try' ':' block finally_block | 'try' ':' block except_block + [ else_block ] [ finally_block ] | 'try' ':' block except_star_block + [ else_block ] [ finally_block ] # Except s ... tatement # ---------------- except_block : | 'except' expression ':' block | 'except' expression 'as' NAME ':' block | 'except' expressions ':' block | 'exce ...
https://man.mtool.work/python/3.14/reference/grammar.html
索引 — Python 3.14.8 ドキュメント 6110
ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – キ キー , [1] キーワード , [1] as , [1] , [2] , [3] async await , [1] case elif else , [1] , [2] , [3] , [4] , [5] except except_star ... finally , [1] , [2] , [3] , [4] from , [1] if in yield 関連キーワード except Index キー キーワード async await case elif else star finally yield « ナビゲーション 索引 モジュール | Python » 3.14.8 Doc ...
https://man.mtool.work/python/3.14/genindex-キ.html
索引 — Python 3.14.8 ドキュメント 6110
ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – キ キー , [1] キーワード , [1] as , [1] , [2] , [3] async await , [1] case elif else , [1] , [2] , [3] , [4] , [5] except except_star ... finally , [1] , [2] , [3] , [4] from , [1] if in yield 関連キーワード except Index キー キーワード async await case elif else star finally yield « ナビゲーション 索引 モジュール | Python » 3.14.8 Doc ...
https://man.mtool.work/python/3.14/genindex-キ.html
sys.monitoring --- 実行イベントモニタリング — Python 3.14.8 ドキュメント 5984
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » sys.monitoring --- 実行イベントモニタリング テーマ 自動 ライト ダーク | sys.monitoring --- 実行イベント ... o determine how to present "left" and "right" branches. There is no guarantee which branch is "left" and which is "right", except that it will be consistent for the duration of the program. sys.monitoring.events. BRANCH_RIGHT ¶ A conditional branch goe ... t. sys.monitoring.events. CALL ¶ A call in Python code (event occurs before the call). sys.monitoring.events. C_RAISE ¶ An exception raised from any callable, except for Python functions (event occurs after the exit). sys.monitoring.events. C_RETURN ¶ ... Return from any callable, except for Python functions (event occurs after the return). sys.monitoring.events. EXCEPTION_HANDLED ¶ An exception is handled. ...
https://man.mtool.work/python/3.14/library/sys.monitoring.html
Coroutines and tasks — Python 3.14.8 ドキュメント 5921
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Coroutines and tasks テーマ 自動 ライト ダーク | Coroutines and tasks ¶ ... . add_done_callback ( background_tasks . discard ) Note that this approach never awaits the tasks, so if a task fails, its exception is never retrieved and asyncio logs a "Task exception was never retrieved" message when the task is garbage collected. ... To avoid this, use asyncio.TaskGroup which keeps a strong reference to each task, awaits them and propagates their exceptions: async with asyncio . TaskGroup () as tg : for i in range ( 10 ): tg . create_task ( some_coro ( param = i )) Added in ... icitly caught, it should generally be propagated when clean-up is complete. asyncio.CancelledError directly subclasses BaseException so most code will not need to be aware of it. The asyncio components that enable structured concurrency, like asyncio.T ...
https://man.mtool.work/python/3.14/library/asyncio-task.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT