Results of 1 - 10 of about 53 for forever (0.007 sec.)
- socketserver --- ネットワークサーバーのフレームワーク — Python 3.14.8 ドキュメ... 12398
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » socketserver --- ネットワークサーバーのフレームワーク テーマ 自動 ライト ダーク | socketserver
...渡してインスタンス化しなければなりません。サーバを with 文中で使うことが推奨されます。そして、 handle_request() または serve_forever() メソッドを呼び出して、一つのまたは多数の要求を処理します。最後に、( with 文を使っていなかったなら) server_close() を呼び...されます。 timeout 秒以内にリクエストが来なかった場合、 handle_timeout() が呼ばれて、 handle_request() が終了します。 serve_forever ( poll_interval = 0.5 ) ¶ Handle requests until an explicit shutdown() request. Poll for shutdown every poll_interval seco...uses service_actions() to clean up zombie child processes. バージョン 3.3 で変更: Added service_actions call to the serve_forever method. service_actions ( ) ¶ This is called in the serve_forever() loop. This method can be overridden by subclasses or m... - https://man.mtool.work/python/3.14/library/socketserver.html
- socketserver --- ネットワークサーバーのフレームワーク — Python 3.14.8 ドキュメ... 11773
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » socketserver --- ネットワークサーバーのフレームワーク テーマ 自動 ライト ダーク | socketserver
...渡してインスタンス化しなければなりません。サーバを with 文中で使うことが推奨されます。そして、 handle_request() または serve_forever() メソッドを呼び出して、一つのまたは多数の要求を処理します。最後に、( with 文を使っていなかったなら) server_close() を呼び...されます。 timeout 秒以内にリクエストが来なかった場合、 handle_timeout() が呼ばれて、 handle_request() が終了します。 serve_forever ( poll_interval = 0.5 ) ¶ Handle requests until an explicit shutdown() request. Poll for shutdown every poll_interval seco...uses service_actions() to clean up zombie child processes. バージョン 3.3 で変更: Added service_actions call to the serve_forever method. service_actions ( ) ¶ This is called in the serve_forever() loop. This method can be overridden by subclasses or m... - https://man.mtool.work/python/3.14/library/socketserver.html
- Event loop — Python 3.14.8 ドキュメント 11773
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Event loop テーマ 自動 ライト ダーク | Event loop ¶ ソースコード: Lib/a
...、暗黙のうちに asyncio.Task として実行されるようにスケジュールされます。 Future の結果を返すか、例外を送出します。 loop. run_forever ( ) ¶ stop() が呼び出されるまでイベントループを実行します。 run_forever() メソッドが呼ばれるより前に stop() メソッドが呼ば...ントに対してスケジュールされた全てのコールバック (および既にスケジュール済みのコールバック) を実行したのち、終了します。 run_forever() メソッドを実行中に stop() メソッドが呼び出された場合、イベントループは現在処理されているすべてのコールバックを実行してか...にスケジュールされるコールバックは実行されないことに注意してください; これら新たにスケジュールされたコールバックは、次に run_forever() または run_until_complete() が呼び出されたときに実行されます。 loop. stop ( ) ¶ イベントループを停止します。 loop. is_ru... - https://man.mtool.work/python/3.14/library/asyncio-eventloop.html
- Event loop — Python 3.14.8 ドキュメント 11356
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Event loop テーマ 自動 ライト ダーク | Event loop ¶ ソースコード: Lib/a
...、暗黙のうちに asyncio.Task として実行されるようにスケジュールされます。 Future の結果を返すか、例外を送出します。 loop. run_forever ( ) ¶ stop() が呼び出されるまでイベントループを実行します。 run_forever() メソッドが呼ばれるより前に stop() メソッドが呼ば...ントに対してスケジュールされた全てのコールバック (および既にスケジュール済みのコールバック) を実行したのち、終了します。 run_forever() メソッドを実行中に stop() メソッドが呼び出された場合、イベントループは現在処理されているすべてのコールバックを実行してか...にスケジュールされるコールバックは実行されないことに注意してください; これら新たにスケジュールされたコールバックは、次に run_forever() または run_until_complete() が呼び出されたときに実行されます。 loop. stop ( ) ¶ イベントループを停止します。 loop. is_ru... - https://man.mtool.work/python/3.14/library/asyncio-eventloop.html
- xmlrpc.client --- XML-RPC クライアントアクセス — Python 3.14.8 ドキュメント 9272
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » xmlrpc.client --- XML-RPC クライアントアクセス テーマ 自動 ライト ダーク | xmlrpc.client --- X
...calhost" , 8000 )) print ( "Listening on port 8000..." ) server . register_function ( is_even , "is_even" ) server . serve_forever () 上記のサーバーに対するクライアントコード: import xmlrpc.client with xmlrpc . client . ServerProxy ( "http://localhost:8..."localhost" , 8000 )) print ( "Listening on port 8000..." ) server . register_function ( today , "today" ) server . serve_forever () 上記のサーバーに対するクライアントコード: import xmlrpc.client import datetime as dt proxy = xmlrpc . client . ServerPr..., 8000 )) print ( "Listening on port 8000..." ) server . register_function ( python_logo , 'python_logo' ) server . serve_forever () クライアントは画像を取得して、ファイルに保存します。 import xmlrpc.client proxy = xmlrpc . client . ServerProxy ( "http... - https://man.mtool.work/python/3.14/library/xmlrpc.client.html
- xmlrpc.client --- XML-RPC クライアントアクセス — Python 3.14.8 ドキュメント 9272
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » xmlrpc.client --- XML-RPC クライアントアクセス テーマ 自動 ライト ダーク | xmlrpc.client --- X
...calhost" , 8000 )) print ( "Listening on port 8000..." ) server . register_function ( is_even , "is_even" ) server . serve_forever () 上記のサーバーに対するクライアントコード: import xmlrpc.client with xmlrpc . client . ServerProxy ( "http://localhost:8..."localhost" , 8000 )) print ( "Listening on port 8000..." ) server . register_function ( today , "today" ) server . serve_forever () 上記のサーバーに対するクライアントコード: import xmlrpc.client import datetime as dt proxy = xmlrpc . client . ServerPr..., 8000 )) print ( "Listening on port 8000..." ) server . register_function ( python_logo , 'python_logo' ) server . serve_forever () クライアントは画像を取得して、ファイルに保存します。 import xmlrpc.client proxy = xmlrpc . client . ServerProxy ( "http... - https://man.mtool.work/python/3.14/library/xmlrpc.client.html
- wsgiref --- WSGI ユーティリティとリファレンス実装 — Python 3.14.8 ドキュメント 9064
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » wsgiref --- WSGI ユーティリティとリファレンス実装 テーマ 自動 ライト ダーク | wsgiref --- WSGI
...ms ()] return ret with make_server ( '' , 8000 , simple_app ) as httpd : print ( "Serving on port 8000..." ) httpd . serve_forever () In addition to the environment functions above, the wsgiref.util module also provides these miscellaneous utilities: ws...demo_app ) as httpd : print ( "Serving HTTP on port 8000..." ) # Respond to requests until process is killed httpd . serve_forever () # Alternative: serve one request, then exit httpd . handle_request () wsgiref.simple_server. demo_app ( environ , start...コンストラクタを呼ぶ必要はありません。 WSGIServer は http.server.HTTPServer のサブクラスなので、そのすべてのメソッド ( serve_forever() や handle_request() のような) が利用できます。 WSGIServer も以下のような WSGI 固有メソッドを提供します: set_app ( applic... - https://man.mtool.work/python/3.14/library/wsgiref.html
- wsgiref --- WSGI ユーティリティとリファレンス実装 — Python 3.14.8 ドキュメント 9064
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » wsgiref --- WSGI ユーティリティとリファレンス実装 テーマ 自動 ライト ダーク | wsgiref --- WSGI
...ms ()] return ret with make_server ( '' , 8000 , simple_app ) as httpd : print ( "Serving on port 8000..." ) httpd . serve_forever () In addition to the environment functions above, the wsgiref.util module also provides these miscellaneous utilities: ws...demo_app ) as httpd : print ( "Serving HTTP on port 8000..." ) # Respond to requests until process is killed httpd . serve_forever () # Alternative: serve one request, then exit httpd . handle_request () wsgiref.simple_server. demo_app ( environ , start...コンストラクタを呼ぶ必要はありません。 WSGIServer は http.server.HTTPServer のサブクラスなので、そのすべてのメソッド ( serve_forever() や handle_request() のような) が利用できます。 WSGIServer も以下のような WSGI 固有メソッドを提供します: set_app ( applic... - https://man.mtool.work/python/3.14/library/wsgiref.html
- xmlrpc.server --- 基本的な XML-RPC サーバー — Python 3.14.8 ドキュメント 8216
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » xmlrpc.server --- 基本的な XML-RPC サーバー テーマ 自動 ライト ダーク | xmlrpc.server --- 基本
...ef mul ( self , x , y ): return x * y server . register_instance ( MyFuncs ()) # Run the server's main loop server . serve_forever () 以下のクライアントコードは上のサーバーで使えるようになったメソッドを呼び出します: import xmlrpc.client s = xmlrpc . cli...# Register a function under function.__name__. @server . register_function def mul ( x , y ): return x * y server . serve_forever () Lib/xmlrpc/server.py モジュール内にある以下の例はドット付名前を許容し複数呼び出し関数を登録するサーバです。 警告 Enabli...= True ) server . register_multicall_functions () print ( 'Serving XML-RPC on localhost port 8000' ) try : server . serve_forever () except KeyboardInterrupt : print ( " \n Keyboard interrupt received, exiting." ) sys . exit ( 0 ) この ExampleService デ... - https://man.mtool.work/python/3.14/library/xmlrpc.server.html
- xmlrpc.server --- 基本的な XML-RPC サーバー — Python 3.14.8 ドキュメント 8216
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » xmlrpc.server --- 基本的な XML-RPC サーバー テーマ 自動 ライト ダーク | xmlrpc.server --- 基本
...ef mul ( self , x , y ): return x * y server . register_instance ( MyFuncs ()) # Run the server's main loop server . serve_forever () 以下のクライアントコードは上のサーバーで使えるようになったメソッドを呼び出します: import xmlrpc.client s = xmlrpc . cli...# Register a function under function.__name__. @server . register_function def mul ( x , y ): return x * y server . serve_forever () Lib/xmlrpc/server.py モジュール内にある以下の例はドット付名前を許容し複数呼び出し関数を登録するサーバです。 警告 Enabli...= True ) server . register_multicall_functions () print ( 'Serving XML-RPC on localhost port 8000' ) try : server . serve_forever () except KeyboardInterrupt : print ( " \n Keyboard interrupt received, exiting." ) sys . exit ( 0 ) この ExampleService デ... - https://man.mtool.work/python/3.14/library/xmlrpc.server.html