Python 3.6.5 ドキュメント 検索
Results of 1 - 10 of about 39 for timeout (0.005 sec.)
- 17.4. concurrent.futures -- 並列タスク実行 — Python 3.6.5 ドキュメント 13093
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...nt ( future . result ()) map ( func , *iterables , timeout=None , chunksize=1 ) ¶ Similar to map(func, *itera...The returned iterator raises a concurrent.futures.TimeoutError if __next__() is called and the result isn't...available after timeout seconds from the original call to Executor.map() ....timeout can be an int or a float. If timeout is not specif... - https://man.plustar.jp/python/library/concurrent.futures.html - [similar]
- 17.1. threading --- スレッドベースの並列処理 — Python 3.6.5 ドキュメント 11621
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...モジュールでは以下の定数も定義しています: threading. TIMEOUT_MAX ¶ ブロックする関数 ( Lock.acquire() , RLock.ac...quire() , Condition.wait() など) の timeout 引数に許される最大値。これ以上の値を timeout に指定...列およびキーワード引数とともに呼び出します。 join ( timeout=None ) ¶ スレッドが終了するまで待機します。 このメ...で、メソッドの呼び出し元のスレッドをブロックします。 timeout 引数が存在して None 以外の場合、それは操作に対する... - https://man.plustar.jp/python/library/threading.html - [similar]
- 17.2. multiprocessing --- プロセスベースの並列処理 — Python 3.6.5 ドキュメント 11261
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...ります。 例えば: from multiprocessing import Pool , TimeoutError import time import os def f ( x ): return x *...) # runs in *only* one process print ( res . get ( timeout = 1 )) # prints "400" # evaluate "os.getpid()" asy...) # runs in *only* one process print ( res . get ( timeout = 1 )) # prints the PID of that process # launchin...d , ()) for i in range ( 4 )] print ([ res . get ( timeout = 1 ) for res in multiple_results ]) # make a sing... - https://man.plustar.jp/python/library/multiprocessing.html - [similar]
- 17.7. queue --- 同期キュークラス — Python 3.6.5 ドキュメント 10306
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...は保証されません。 Queue. put ( item , block=True , timeout=None ) ¶ item をキューに入れます。 もしオプション引...数 block が真で timeout が None (デフォルト) の場合は、必要であればフリース...ロットが利用可能になるまでブロックします。 timeout が正の数の場合は、最大で timeout 秒間ブロックし、そ...。 できないならば、例外 Full を送出します (この場合 timeout は無視されます)。 Queue. put_nowait ( item ) ¶ put... - https://man.plustar.jp/python/library/queue.html - [similar]
- 17.5. subprocess --- サブプロセス管理 — Python 3.6.5 ドキュメント 9569
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...dout=None , stderr=None , shell=False , cwd=None , timeout=None , check=False , encoding=None , errors=None )...分が Popen コンストラクターの内容と同じになります - timeout 、 input および check は除き、この関数の全引数は P.../および stderr 引数に PIPE を渡してください。 引数 timeout は Popen.communicate() に渡されます。タイムアウトが...ill され、待機されます。子プロセスが中断されたあと TimeoutExpired が再び送出されます。 The input argument is... - https://man.plustar.jp/python/library/subprocess.html - [similar]
- 17.9. _thread --- 低水準の スレッド API — Python 3.6.5 ドキュメント 9491
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...ndows、POSIX スレッドに対応したシステム。 _thread. TIMEOUT_MAX ¶ Lock.acquire() の timeout 引数に許される最大...値です。これ以上の値を timeout に指定すると OverflowError を発生させます。 バージ...メソッドを持っています: lock. acquire ( waitflag=1 , timeout=-1 ) ¶ オプションの引数なしで使用すると、このメソッ...と同様、ロックの状態にかかわらず獲得をおこないます。 timeout 引数に正の float 値が指定された場合、返る前に待つ最... - https://man.plustar.jp/python/library/_thread.html - [similar]
- 18.3. select --- I/O 処理の完了を待機する — Python 3.6.5 ドキュメント 9334
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...ださい。 select. select ( rlist , wlist , xlist [ , timeout ] ) ¶ Unix の select() システムコールに対する直接的...では動作しないことが知られています)。オプションの timeout 引数にはタイムアウトまでの秒数を浮動小数点数で指定...します。 timeout 引数が省略された場合、関数は少なくとも一つのファイ...述子が何らかの準備完了状態になるまでブロックします。 timeout に 0 を指定した場合は、ポーリングを行いブロックしな... - https://man.plustar.jp/python/library/select.html - [similar]
- 21.13. ftplib --- FTPプロトコルクライアント — Python 3.6.5 ドキュメント 8896
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...b. FTP ( host='' , user='' , passwd='' , acct='' , timeout=None , source_address=None ) ¶ Return a new instan...to the empty string when not given). The optional timeout parameter specifies a timeout in seconds for block...n attempt (if is not specified, the global default timeout setting will be used). source_address is a 2-tuple...'' , keyfile=None , certfile=None , context=None , timeout=None , source_address=None ) ¶ RFC 4217 に記述され... - https://man.plustar.jp/python/library/ftplib.html - [similar]
- 21.19. telnetlib --- Telnet クライアント — Python 3.6.5 ドキュメント 8818
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...。 class telnetlib. Telnet ( host=None , port=0 [ , timeout ] ) ¶ Telnet は Telnet サーバへの接続を表現します。...以前にサーバへの接続が確立されます。オプション引数の timeout が渡された場合、コネクション接続時のタイムアウト時...ッドを持っています: Telnet. read_until ( expected , timeout=None ) ¶ expected で指定されたバイト文字列を読み込...むか、 timeout で指定された秒数が経過するまで読み込みます。 与えら... - https://man.plustar.jp/python/library/telnetlib.html - [similar]
- 18.5.3. タスクとコルーチン — Python 3.6.5 ドキュメント 8536
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...ror ¶ 操作はこの状態では許可されません。 18.5.3.3. TimeoutError ¶ exception asyncio. TimeoutError ¶ 操作は与え...られた期限を超えました。 注釈 この例外は組み込みの TimeoutError 例外とは異なります! 18.5.3.4. フューチャー ¶...used. asyncio. as_completed ( fs , * , loop=None , timeout=None ) ¶ その値のイテレーターか、待機中のときは Fu...チャが終了する前にタイムアウトが発生した場合 asyncio.TimeoutError を送出します。 以下はプログラム例です: for f... - https://man.plustar.jp/python/library/asyncio-task.html - [similar]
