per page, with , order by , clip by
Results of 1 - 10 of about 215 for exit (0.007 sec.)
atexit --- 終了ハンドラー — Python 3.14.8 ドキュメント 11722
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » atexit --- 終了ハンドラー テーマ 自動 ライト ダーク | atexit --- 終了ハンドラー ¶ The atexit module def ... ines functions to register and unregister exit handlers : functions that are automatically executed "at exit", that is, upon normal program termination (for instance, if ... sys.exit() is called or the main module's execution completes) or, more generally, upon interpreter shutdown . At exit, all registe ... red exit handlers are called in the reverse order in which they were registered. If you register A , B , and C , at interpreter shu ...
https://man.mtool.work/python/3.14/library/atexit.html
atexit --- 終了ハンドラー — Python 3.14.8 ドキュメント 11659
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » atexit --- 終了ハンドラー テーマ 自動 ライト ダーク | atexit --- 終了ハンドラー ¶ The atexit module def ... ines functions to register and unregister exit handlers : functions that are automatically executed "at exit", that is, upon normal program termination (for instance, if ... sys.exit() is called or the main module's execution completes) or, more generally, upon interpreter shutdown . At exit, all registe ... red exit handlers are called in the reverse order in which they were registered. If you register A , B , and C , at interpreter shu ...
https://man.mtool.work/python/3.14/library/atexit.html
Python 初期化設定 — Python 3.14.8 ドキュメント 9367
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Python 初期化設定 テーマ 自動 ライト ダーク | Python 初期化設定 ¶ PyInitConfig C API ¶ Added in version 3.14. Python は Py_Initia ... an error is set. Set *err_msg to NULL and return 0 otherwise. An error message is a UTF-8 encoded string. If config has an exit code, format the exit code as an error message. The error message remains valid until another PyInitConfig function is cal ... led with config . The caller doesn't have to free the error message. int PyInitConfig_GetExitCode ( PyInitConfig * config , int * exitcode ) ¶ Get the config exit code. Set *exitcode and return 1 if config has an exi ... t code set. Return 0 if config has no exit code set. Only the Py_InitializeFromInitConfig() function can set an exit code if the parse_argv option is non-zero. An ex ...
https://man.mtool.work/python/3.14/c-api/init_config.html
Python 初期化設定 — Python 3.14.8 ドキュメント 9367
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Python 初期化設定 テーマ 自動 ライト ダーク | Python 初期化設定 ¶ PyInitConfig C API ¶ Added in version 3.14. Python は Py_Initia ... an error is set. Set *err_msg to NULL and return 0 otherwise. An error message is a UTF-8 encoded string. If config has an exit code, format the exit code as an error message. The error message remains valid until another PyInitConfig function is cal ... led with config . The caller doesn't have to free the error message. int PyInitConfig_GetExitCode ( PyInitConfig * config , int * exitcode ) ¶ Get the config exit code. Set *exitcode and return 1 if config has an exi ... t code set. Return 0 if config has no exit code set. Only the Py_InitializeFromInitConfig() function can set an exit code if the parse_argv option is non-zero. An ex ...
https://man.mtool.work/python/3.14/c-api/init_config.html
argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー — Pytho... 8389
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー テーマ 自動 ライ ... mfile_prefix_chars = None , argument_default = None , conflict_handler = 'error' , add_help = True , allow_abbrev = True , exit_on_error = True , * , suggest_on_error = False , color = True ) ¶ 新しい ArgumentParser オブジェクトを生成します。すべての ... デフォルト: True ) allow_abbrev - Allows long options to be abbreviated if the abbreviation is unambiguous (default: True ) exit_on_error - Determines whether or not ArgumentParser exits with error info when an error occurs. (default: True ) suggest_o ... は、 allow_abbrev は、 -vv が -v -v と等価になるような、短いフラグのグループ化を無効にしていました。 バージョン 3.9 で変更: exit_on_error 引数が追加されました。 バージョン 3.14 で変更: suggest_on_error and color parameters were added. 以下の節では各オ ...
https://man.mtool.work/python/3.14/library/argparse.html
argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー — Pytho... 8253
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー テーマ 自動 ライ ... mfile_prefix_chars = None , argument_default = None , conflict_handler = 'error' , add_help = True , allow_abbrev = True , exit_on_error = True , * , suggest_on_error = False , color = True ) ¶ 新しい ArgumentParser オブジェクトを生成します。すべての ... デフォルト: True ) allow_abbrev - Allows long options to be abbreviated if the abbreviation is unambiguous (default: True ) exit_on_error - Determines whether or not ArgumentParser exits with error info when an error occurs. (default: True ) suggest_o ... は、 allow_abbrev は、 -vv が -v -v と等価になるような、短いフラグのグループ化を無効にしていました。 バージョン 3.9 で変更: exit_on_error 引数が追加されました。 バージョン 3.14 で変更: suggest_on_error and color parameters were added. 以下の節では各オ ...
https://man.mtool.work/python/3.14/library/argparse.html
contextlib --- with 文コンテキスト用ユーティリティ — Python 3.14.8 ドキュメント 8253
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » contextlib --- with 文コンテキスト用ユーティリティ テーマ 自動 ライト ダーク | contextlib --- with 文コ ... 供しています: class contextlib. AbstractContextManager ¶ An abstract base class for classes that implement __enter__() and __exit__() . A default implementation for __enter__() is provided which returns self while __exit__() is an abstract method which ... 3.6. class contextlib. AbstractAsyncContextManager ¶ An abstract base class for classes that implement __aenter__() and __aexit__() . A default implementation for __aenter__() is provided which returns self while __aexit__() is an abstract method whi ... は with 文コンテキストマネージャのファクトリ関数を定義するために利用できる デコレータ です。新しいクラスや __enter__() と __exit__() メソッドを別々に定義しなくても、ファクトリ関数を定義することができます。 While many objects natively support use in wi ...
https://man.mtool.work/python/3.14/library/contextlib.html
contextlib --- with 文コンテキスト用ユーティリティ — Python 3.14.8 ドキュメント 8253
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » contextlib --- with 文コンテキスト用ユーティリティ テーマ 自動 ライト ダーク | contextlib --- with 文コ ... 供しています: class contextlib. AbstractContextManager ¶ An abstract base class for classes that implement __enter__() and __exit__() . A default implementation for __enter__() is provided which returns self while __exit__() is an abstract method which ... 3.6. class contextlib. AbstractAsyncContextManager ¶ An abstract base class for classes that implement __aenter__() and __aexit__() . A default implementation for __aenter__() is provided which returns self while __aexit__() is an abstract method whi ... は with 文コンテキストマネージャのファクトリ関数を定義するために利用できる デコレータ です。新しいクラスや __enter__() と __exit__() メソッドを別々に定義しなくても、ファクトリ関数を定義することができます。 While many objects natively support use in wi ...
https://man.mtool.work/python/3.14/library/contextlib.html
__main__ --- トップレベルのコード環境 — Python 3.14.8 ドキュメント 7906
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » __main__ --- トップレベルのコード環境 テーマ 自動 ライト ダーク | __main__ --- トップレベルのコード環境 ... ents to standard output""" phrase = shlex . join ( sys . argv ) echo ( phrase ) return 0 if __name__ == '__main__' : sys . exit ( main ()) # next section explains the use of sys.exit 注意すべき点として、もし main 関数内のコードをカプセル化せず if __n ... When this is done, pip inserts the function call into a template script, where the return value of main is passed into sys.exit() . For example: sys . exit ( main ()) Since the call to main is wrapped in sys.exit() , the expectation is that your func ... tion will return some value acceptable as an input to sys.exit() ; typically, an integer or None (which is implicitly returned if your function does not have a return statement). By pro ...
https://man.mtool.work/python/3.14/library/__main__.html
__main__ --- トップレベルのコード環境 — Python 3.14.8 ドキュメント 7906
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » __main__ --- トップレベルのコード環境 テーマ 自動 ライト ダーク | __main__ --- トップレベルのコード環境 ... ents to standard output""" phrase = shlex . join ( sys . argv ) echo ( phrase ) return 0 if __name__ == '__main__' : sys . exit ( main ()) # next section explains the use of sys.exit 注意すべき点として、もし main 関数内のコードをカプセル化せず if __n ... When this is done, pip inserts the function call into a template script, where the return value of main is passed into sys.exit() . For example: sys . exit ( main ()) Since the call to main is wrapped in sys.exit() , the expectation is that your func ... tion will return some value acceptable as an input to sys.exit() ; typically, an integer or None (which is implicitly returned if your function does not have a return statement). By pro ...
https://man.mtool.work/python/3.14/library/__main__.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT