Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 76 for result (0.023 sec.)
10.1. itertools --- 効率的なループ実行のためのイテレータ生成関数 — Python 3.6.5... 7549
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ols = [ tuple ( pool ) for pool in args ] * repeat result = [[]] for pool in pools : result = [ x + [ y ] fo ... r x in result for y in pool ] for prod in result : yield tuple ( ... += c if index < 0 or index >= c : raise IndexError result = [] while r : c , n , r = c * r // n , n - 1 , r ... c : index -= c c , n = c * ( n - r ) // n , n - 1 result . append ( pool [ - 1 - n ]) return tuple ( result ...
https://man.plustar.jp/python/library/itertools.html - [similar]
16.1. os --- 雑多なオペレーティングシステムインタフェース — Python 3.6.5 ドキュ... 7549
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... fd ) ¶ ファイル記述子 fd の状態を取得します。 stat_result オブジェクトを返します。 Python 3.3 以降では os.st ... ていますが、シンボリックリンクをたどりません。 stat_result オブジェクトを返します。 シンボリックリンクをサポー ... 相対パスの場合、 os.path.join(os.path.dirname(path), result) を使って絶対パスに変換することができます。 If the ... y or indirectly through a PathLike interface), the result will also be a string object, and the call may rai ...
https://man.plustar.jp/python/library/os.html - [similar]
32.7. tokenize --- Pythonソースのためのトークナイザ — Python 3.6.5 ドキュメント 7549
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... decistmt(s)) -3.217160342717258261933904529E-7 """ result = [] g = tokenize ( BytesIO ( s . encode ( 'utf-8' ... NUMBER and '.' in tokval : # replace NUMBER tokens result . extend ([ ( NAME , 'Decimal' ), ( OP , '(' ), ( ... STRING , repr ( tokval )), ( OP , ')' ) ]) else : result . append (( toknum , tokval )) return untokenize ( ... result ) . decode ( 'utf-8' ) コマンドラインからトークナイ ...
https://man.plustar.jp/python/library/tokenize.html - [similar]
17.2. multiprocessing --- プロセスベースの並列処理 — Python 3.6.5 ドキュメント 7272
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... s asynchronously *may* use more processes multiple_results = [ pool . apply_async ( os . getpid , ()) for i ... t ([ res . get ( timeout = 1 ) for res in multiple_results ]) # make a single worker sleep for 10 secs res = ... を呼び出します。 class multiprocessing.pool. AsyncResult ¶ Pool.apply_async() や Pool.map_async() で返される ... ocesses = 4 ) as pool : # start 4 worker processes result = pool . apply_async ( f , ( 10 ,)) # evaluate "f( ...
https://man.plustar.jp/python/library/multiprocessing.html - [similar]
6. 式 (expression) — Python 3.6.5 ドキュメント 7272
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ ... med the execution. If __anext__() is used then the result is None . Otherwise, if asend() is used, then the ... en a yield expression within a try construct could result in a failure to execute pending finally clauses. I ... s generator-iterator's aclose() method and run the resulting coroutine object, thus allowing any pending fin ... rator function, and the value argument becomes the result of the current yield expression. The awaitable ret ...
https://man.plustar.jp/python/reference/expressions.html - [similar]
21.12. http.client --- HTTP プロトコルクライアント — Python 3.6.5 ドキュメント 7175
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... etresponse() when the attempt to read the response results in no data read from the connection, indicating t ... with the request. If encode_chunked is True , the result of each iteration of message_body will be chunk-en ... implements the buffer interface the encoding will result in a single chunk. If message_body is a collection ... s.Iterable , each iteration of message_body will result in a chunk. If message_body is a file object , eac ...
https://man.plustar.jp/python/library/http.client.html - [similar]
6.2. re --- 正規表現操作 — Python 3.6.5 ドキュメント 7175
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... きます。 シーケンス prog = re . compile ( pattern ) result = prog . match ( string ) は、以下と同等です resul ... tor and it matches at the start of the string, the result will start with an empty string. The same holds fo ... than one group. Empty matches are included in the result. 注釈 Due to the limitation of the current impleme ... the order found. Empty matches are included in the result. See also the note about findall() . re. sub ( pat ...
https://man.plustar.jp/python/library/re.html - [similar]
8. エラーと例外 — Python 3.6.5 ドキュメント 7175
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア ... 雑な例です: >>> def divide ( x , y ): ... try : ... result = x / y ... except ZeroDivisionError : ... print ( ... "division by zero!" ) ... else : ... print ( "result is" , result ) ... finally : ... print ( "executin ... g finally clause" ) ... >>> divide ( 2 , 1 ) result is 2.0 executing finally clause >>> divide ( 2 , 0 ...
https://man.plustar.jp/python/tutorial/errors.html - [similar]
デザインと歴史 FAQ — Python 3.6.5 ドキュメント 7078
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python よくある質問 ... he_list def __hash__ ( self ): l = self . the_list result = 98767 - len ( l ) * 555 for i , el in enumerate ... ( l ): try : result = result + ( hash ( el ) % 9999999 ) * 1001 + i ex ... cept Exception : result = ( result % 7777777 ) + i * 333 return result なお ...
https://man.plustar.jp/python/faq/design.html - [similar]
26.4. unittest --- ユニットテストフレームワーク — Python 3.6.5 ドキュメント 7078
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... failure)」とすることができ、テストが失敗しても TestResult の失敗数にはカウントされなくなります。 テストをスキ ... を参照してください。 バージョン 3.2 で追加. run ( result=None ) ¶ テストを実行し、テスト結果を result に指定 ... された TestResult オブジェクトにまとめます。 result が省略されるか N ... one が渡された場合、 ( defaultTestResult() メソッドを呼んで) 一時的な結果オブジェクトを生成 ...
https://man.plustar.jp/python/library/unittest.html - [similar]
PREV 1 2 3 4 5 6 7 8 NEXT