Python 3.6.5 ドキュメント 検索
Results of 161 - 170 of about 249 for FOR (0.063 sec.)
- 18.5.6. サブプロセス — Python 3.6.5 ドキュメント 4478
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
ws で使用する例: import asyncio , sys if sys . platform == 'win32' : loop = asyncio . ProactorEventLoop (...
び wait() メソッドは timeout 引数を取りません: wait_for() 関数を使用してください universal_newlines 引数は...
) transport , protocol = yield from create # Wait for the subprocess exit using the process_exited() met...
data . decode ( 'ascii' ) . rstrip () if sys . platform == "win32" : loop = asyncio . ProactorEventLoop (...
- https://man.plustar.jp/python/library/asyncio-subprocess.html - [similar]
- 11.5. filecmp --- ファイルおよびディレクトリの比較 — Python 3.6.5 ドキュメント 4478
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
port dircmp >>> def print_diff_files ( dcmp ): ... for name in dcmp . diff_files : ... print ( "diff_file...
" % ( name , dcmp . left , ... dcmp . right )) ... for sub_dcmp in dcmp . subdirs . values (): ... print_...
- https://man.plustar.jp/python/library/filecmp.html - [similar]
- 8.5. heapq --- ヒープキューアルゴリズム — Python 3.6.5 ドキュメント 4478
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
ます: >>> def heapsort ( iterable ): ... h = [] ... for value in iterable : ... heappush ( h , value ) ......
return [ heappop ( h ) for i in range ( len ( h ))] ... >>> heapsort ([ 1 , 3...
o entries REMOVED = '<removed-task>' # placeholder for a removed task counter = itertools . count () # un...
- https://man.plustar.jp/python/library/heapq.html - [similar]
- 9.2. math --- 数学関数 — Python 3.6.5 ドキュメント 4478
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
る二つのアプローチについては、 ASPN cookbook recipes for accurate floating point summation をご覧下さい。 m...
バージョン 3.5 で追加. 参考 PEP 485 -- A function for testing approximate equality math. isfinite ( x )...
: def phi ( x ): 'Cumulative distribution function for the standard normal distribution' return ( 1.0 + e...
- https://man.plustar.jp/python/library/math.html - [similar]
- 12.1. pickle --- Python オブジェクトの直列化 — Python 3.6.5 ドキュメント 4478
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
guments and kwargs a dictionary of named arguments for constructing the object. Those will be passed to t...
ewargs_ex__() is defined. バージョン 3.6 で変更: Before Python 3.6, __getnewargs__() was called instead o...
'prepare group meeting' , 'fight with a zebra' , ) for task in tasks : cursor . execute ( "INSERT INTO me...
FROM memos" ) memos = [ MemoRecord ( key , task ) for key , task in cursor ] # Save the records using ou...
- https://man.plustar.jp/python/library/pickle.html - [similar]
- 17.1. threading --- スレッドベースの並列処理 — Python 3.6.5 ドキュメント 4478
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
e concrete Lock class that is supported by the platform. acquire ( blocking=True , timeout=-1 ) ¶ ブロック...
ングに固有です。条件チェックを自動化するために wait_for() メソッドを使うことができ、それはタイムアウトの計...
簡略化します: # Consume an item with cv : cv . wait_for ( an_item_is_available ) get_an_available_item ()...
は、このメソッドは常に None を返していました。 wait_for ( predicate , timeout=None ) ¶ 条件が真と判定される...
- https://man.plustar.jp/python/library/threading.html - [similar]
- 26.4. unittest --- ユニットテストフレームワーク — Python 3.6.5 ドキュメント 4478
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
Down() が実行されます。 Such a working environment for the testing code is called a fixture . Test case i...
features they test. unittest provides a mechanism for this: the test suite , represented by unittest 's...
ight thing and collect all the module's test cases for you, and then execute them. しかし、テストスイート...
"not supported in this library version" ) def test_format ( self ): # Tests that work for only a certain...
- https://man.plustar.jp/python/library/unittest.html - [similar]
- 6. モジュール (module) — Python 3.6.5 ドキュメント 4478
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア
...
'path', 'path_hooks', 'path_importer_cache', 'platform', 'prefix', 'ps1', 'setcheckinterval', 'setdlopen...
rate', 'eval', 'exec', 'exit', 'filter', 'float', 'format', 'frozenset', 'getattr', 'globals', 'hasattr',...
s module namespace by using "dotted module names". For example, the module name A.B designates a submodul...
l package __init__.py Initialize the sound package formats/ Subpackage for file format conversions __init...
- https://man.plustar.jp/python/tutorial/modules.html - [similar]
- 拡張と埋め込み FAQ — Python 3.6.5 ドキュメント 4448
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python よくある質問
...
ject , const char * method_name , const char * arg_format , ...); これはメソッドを持ついかなるオブジェクト...
* code ) /* code should end in \n */ /* return -1 for error, 0 for incomplete, 1 for complete */ { node...
- https://man.plustar.jp/python/faq/extending.html - [similar]
- 26.3. doctest --- 対話的な実行例をテストする — Python 3.6.5 ドキュメント 4448
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
example module supplies one function, factorial(). For example, >>> factorial(5) 120 """ def factorial (...
ial of n, an exact integer >= 0. >>> [factorial(n) for n in range(6)] [1, 1, 2, 6, 24, 120] >>> factorial...
ctorial(5) Expecting: 120 ok Trying: [factorial(n) for n in range(6)] Expecting: [1, 1, 2, 6, 24, 120] ok...
- This is an example text file in reStructuredText format. First import ``factorial`` from the ``example`...
- https://man.plustar.jp/python/library/doctest.html - [similar]