per page, with , order by , clip by
Results of 1 - 10 of about 14 for goodbye (0.009 sec.)
atexit --- 終了ハンドラー — Python 3.14.8 ドキュメント 13023
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » atexit --- 終了ハンドラー テーマ 自動 ライト ダーク | atexit --- 終了ハンドラー ¶ The atexit module def ... atexit . register ( savecounter ) register() に指定した位置引数とキーワード引数は登録した関数を呼び出す際に渡されます: def goodbye ( name , adjective ): print ( 'Goodbye %s , it was %s to meet you.' % ( name , adjective )) import atexit atexit . registe ... r ( goodbye , 'Donny' , 'nice' ) # or: atexit . register ( goodbye , adjective = 'nice' , name = 'Donny' ) デコレータ として利用する例 ... : import atexit @atexit . register def goodbye (): print ( 'You are now leaving the Python sector.' ) デコレータとして利用できるのは、その関数が引数なしで呼び出された場合 ...
https://man.mtool.work/python/3.14/library/atexit.html
atexit --- 終了ハンドラー — Python 3.14.8 ドキュメント 12883
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » atexit --- 終了ハンドラー テーマ 自動 ライト ダーク | atexit --- 終了ハンドラー ¶ The atexit module def ... atexit . register ( savecounter ) register() に指定した位置引数とキーワード引数は登録した関数を呼び出す際に渡されます: def goodbye ( name , adjective ): print ( 'Goodbye %s , it was %s to meet you.' % ( name , adjective )) import atexit atexit . registe ... r ( goodbye , 'Donny' , 'nice' ) # or: atexit . register ( goodbye , adjective = 'nice' , name = 'Donny' ) デコレータ として利用する例 ... : import atexit @atexit . register def goodbye (): print ( 'You are now leaving the Python sector.' ) デコレータとして利用できるのは、その関数が引数なしで呼び出された場合 ...
https://man.mtool.work/python/3.14/library/atexit.html
contextvars --- コンテキスト変数 — Python 3.14.8 ドキュメント 8699
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » contextvars --- コンテキスト変数 テーマ 自動 ライト ダーク | contextvars --- コンテキスト変数 ¶ このモジュールは、コンテ ... 変数を利用します: import asyncio import contextvars client_addr_var = contextvars . ContextVar ( 'client_addr' ) def render_goodbye (): # The address of the currently handled client can be accessed # without passing it explicitly to this function. client ... _addr = client_addr_var . get () return f 'Good bye, client @ { client_addr } \r\n ' . encode () async def handle_request ( reader , writer ): addr = writer . transport . ge ... writer . write ( b 'HTTP/1.1 200 OK \r\n ' ) # status line writer . write ( b ' \r\n ' ) # headers writer . write ( render_goodbye ()) # body writer . close () async def main (): srv = await asyncio . start_server ( handle_request , '127.0.0.1' , 8081 ) ...
https://man.mtool.work/python/3.14/library/contextvars.html
contextvars --- コンテキスト変数 — Python 3.14.8 ドキュメント 8699
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » contextvars --- コンテキスト変数 テーマ 自動 ライト ダーク | contextvars --- コンテキスト変数 ¶ このモジュールは、コンテ ... 変数を利用します: import asyncio import contextvars client_addr_var = contextvars . ContextVar ( 'client_addr' ) def render_goodbye (): # The address of the currently handled client can be accessed # without passing it explicitly to this function. client ... _addr = client_addr_var . get () return f 'Good bye, client @ { client_addr } \r\n ' . encode () async def handle_request ( reader , writer ): addr = writer . transport . ge ... writer . write ( b 'HTTP/1.1 200 OK \r\n ' ) # status line writer . write ( b ' \r\n ' ) # headers writer . write ( render_goodbye ()) # body writer . close () async def main (): srv = await asyncio . start_server ( handle_request , '127.0.0.1' , 8081 ) ...
https://man.mtool.work/python/3.14/library/contextvars.html
8. エラーと例外 — Python 3.14.8 ドキュメント 8279
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 8. エラーと例外 テーマ 自動 ライト ダーク | 8. エラーと例外 ¶ これまでエラーメッセージについては簡単に触れるだけでしたが、チュートリアル中 ... ためのもので、どんな状況でも必ず実行されます。例を示します: >>> try : ... raise KeyboardInterrupt ... finally : ... print ( 'Goodbye, world!' ) ... Goodbye, world! Traceback (most recent call last): File "<stdin>" , line 2 , in <module> raise KeyboardInte ...
https://man.mtool.work/python/3.14/tutorial/errors.html
8. エラーと例外 — Python 3.14.8 ドキュメント 8279
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 8. エラーと例外 テーマ 自動 ライト ダーク | 8. エラーと例外 ¶ これまでエラーメッセージについては簡単に触れるだけでしたが、チュートリアル中 ... ためのもので、どんな状況でも必ず実行されます。例を示します: >>> try : ... raise KeyboardInterrupt ... finally : ... print ( 'Goodbye, world!' ) ... Goodbye, world! Traceback (most recent call last): File "<stdin>" , line 2 , in <module> raise KeyboardInte ...
https://man.mtool.work/python/3.14/tutorial/errors.html
ftplib --- FTP プロトコルクライアント — Python 3.14.8 ドキュメント 7999
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » ftplib --- FTP プロトコルクライアント テーマ 自動 ライト ダーク | ftplib --- FTP プロトコルクラ ... ADME' , 'wb' ) as fp : >>> ftp . retrbinary ( 'RETR README' , fp . write ) '226 Transfer complete.' >>> ftp . quit () '221 Goodbye.' リファレンス ¶ FTP オブジェクト ¶ class ftplib. FTP ( host = '' , user = '' , passwd = '' , acct = '' , timeout = None , ...
https://man.mtool.work/python/3.14/library/ftplib.html
ftplib --- FTP プロトコルクライアント — Python 3.14.8 ドキュメント 7999
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » ftplib --- FTP プロトコルクライアント テーマ 自動 ライト ダーク | ftplib --- FTP プロトコルクラ ... ADME' , 'wb' ) as fp : >>> ftp . retrbinary ( 'RETR README' , fp . write ) '226 Transfer complete.' >>> ftp . quit () '221 Goodbye.' リファレンス ¶ FTP オブジェクト ¶ class ftplib. FTP ( host = '' , user = '' , passwd = '' , acct = '' , timeout = None , ...
https://man.mtool.work/python/3.14/library/ftplib.html
Logging クックブック — Python 3.14.8 ドキュメント 7859
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Logging クックブック テーマ 自動 ライト ダーク | Logging クックブック ¶ Author : Vinay Sajip <vinay_sajip at red-dove dot com> このページは、過去に ... er just returns the message root . setLevel ( logging . DEBUG ) def main (): logging . info ( 'Hello' ) logging . debug ( 'Goodbye' ) if __name__ == '__main__' : configure_logging () sys . exit ( main ()) 実行すれば、女性の声で "Hello" に続き "Goodbye" ...
https://man.mtool.work/python/3.14/howto/logging-cookbook.html
Logging クックブック — Python 3.14.8 ドキュメント 7859
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Logging クックブック テーマ 自動 ライト ダーク | Logging クックブック ¶ Author : Vinay Sajip <vinay_sajip at red-dove dot com> このページは、過去に ... er just returns the message root . setLevel ( logging . DEBUG ) def main (): logging . info ( 'Hello' ) logging . debug ( 'Goodbye' ) if __name__ == '__main__' : configure_logging () sys . exit ( main ()) 実行すれば、女性の声で "Hello" に続き "Goodbye" ...
https://man.mtool.work/python/3.14/howto/logging-cookbook.html
PREV 1 2 NEXT