Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 151 - 160 of about 331 for OF (0.077 sec.)
17.5. subprocess --- サブプロセス管理 — Python 3.6.5 ドキュメント 4245
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... '\n' . For more information see the documentation of the io.TextIOWrapper class when the newline argume ... stdin. Read data from stdout and stderr, until end-of-file is reached. Wait for process to terminate. Th ... etstatusoutput ( cmd ) ¶ Return (exitcode, output) of executing cmd in a shell. Execute the string cmd i ... the command can be interpreted as the return code of subprocess. Example: >>> subprocess . getstatusout ...
https://man.plustar.jp/python/library/subprocess.html - [similar]
35.6. termios --- POSIX スタイルの端末制御 — Python 3.6.5 ドキュメント 4245
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ls for tty I/O control. For a complete description of these calls, see termios(3) Unix manual page. It i ... 端末属性を含むリストを返します。その形式は: [iflag, oflag, cflag, lflag, ispeed, ospeed, cc] です。 cc は ... ue セレクタで指定します: TCIFLUSH は入力キュー、 TCOFLUSH は出力キュー、 TCIOFLUSH は両方のキューです。 ... したりします。引数 action は出力をサスペンドする TCOOFF 、出力をレジュームする TCOON 、入力をサスペンドす ...
https://man.plustar.jp/python/library/termios.html - [similar]
26.5. unittest.mock --- モックオブジェクトライブラリ — Python 3.6.5 ドキュメン... 4245
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... on' パターンに基づいています。 There is a backport of unittest.mock for earlier versions of Python, avai ... f the call is the most recent one, and in the case of assert_called_once_with() it must also be the only ... This can be useful where you want to make a series of assertions that reuse the same object. Note that r ... ている magic method の完全なリスト: __hash__ , __sizeof__ , __repr__ , __str__ __dir__ , __format__ , __su ...
https://man.plustar.jp/python/library/unittest.mock.html - [similar]
4. その他の制御フローツール — Python 3.6.5 ドキュメント 4245
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア ... : >>> for w in words [:]: # Loop over a slice copy of the entire list. ... if len ( w ) > 6 : ... words ... 2 keyword arguments parrot ( 'a million' , 'bereft of life' , 'jump' ) # 3 positional arguments parrot ( ... kind , "?" ) print ( "-- I'm sorry, we're all out of" , kind ) for arg in arguments : print ( arg ) pri ... u have any Limburger ? -- I'm sorry, we're all out of Limburger It's very runny, sir. It's really very, ...
https://man.plustar.jp/python/tutorial/controlflow.html - [similar]
8. Distutilsの拡張 — Python 3.6.5 ドキュメント 4217
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python モジュールの ... his option can only be set in the [global] section of a configuration file, or before any commands on th ... , Distutils , build , 配布 , command , setup Table of Contents 8. Distutilsの拡張 8.1. 新しいコマンドの統 ... (レガシーバージョン) » © 著作権 2001-2022, Python Software Foundation. Python Software Foundation は非営 ...
https://man.plustar.jp/python/distutils/extending.html - [similar]
関数型プログラミング HOWTO — Python 3.6.5 ドキュメント 4217
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » 関数 ... ): continue # Skip this element # Output the value of # the expression. つまり、複数の for...in 節があっ ... log ( message , subsystem ): """Write the contents of 'message' to the specified subsystem.""" print ( ' ... (most recent call last): ... TypeError : reduce() of empty sequence with no initial value >>> functools ... うがわかりやすくなります: import functools # Instead of: product = functools . reduce ( operator . mul , [ ...
https://man.plustar.jp/python/howto/functional.html - [similar]
urllib パッケージを使ってインターネット上のリソースを取得するには — Python 3.6.... 4217
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » urll ... as e : ... print ( e . reason ) ... (4, 'getaddrinfo failed') HTTPError ¶ サーバーからの全ての HTTP レス ... entication required) が含まれます。 See section 10 of RFC 2616 for a reference on all the HTTP error cod ... TTPRequestHandler.responses is a useful dictionary of response codes in that shows all the response code ... ccepted' , 'Request accepted, processing continues off-line' ), 203 : ( 'Non-Authoritative Information' ...
https://man.plustar.jp/python/howto/urllib2.html - [similar]
9.4. decimal --- 十進固定及び浮動小数点数の算術演算 — Python 3.6.5 ドキュメント 4217
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... a money formatted string. places: required number of places after the decimal point curr: optional curr ... ion def exp ( x ): """Return e raised to the power of x. Result type matches input type. >>> print(exp(D ... = 2 return + s def cos ( x ): """Return the cosine of x as measured in radians. The Taylor series approx ... imation works best for a small value of x. For larger values, first compute x = x % (2 * p ...
https://man.plustar.jp/python/library/decimal.html - [similar]
26.1. typing --- 型ヒントのサポート — Python 3.6.5 ドキュメント 4217
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... lar * num for num in vector ] # typechecks; a list of floats qualifies as a Vector. new_vector = scale ( ... serId を作ってしまうことを防ぎます。 # 'output' is of type 'int', not 'UserId' output = UserId ( 23413 ) ... . # Typechecks, since ints and strs are subclasses of object hash_a ( 42 ) hash_a ( "foo" ) # Typechecks ... est ( x : A , y : A ) -> A : """Return the longest of two strings.""" return x if len ( x ) >= len ( y ) ...
https://man.plustar.jp/python/library/typing.html - [similar]
Unicode オブジェクトと codec — Python 3.6.5 ドキュメント 4190
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... (and this is in fact what was done to obtain most of the standard codecs included in the encodings pack ... ce. Create a Unicode object by decoding size bytes of the encoded string s using the given mapping objec ... value: New reference. Encode the Py_UNICODE buffer of the given size using the given mapping object and ... ted as Unicode ordinals) or None (causing deletion of the character). Unmapped character ordinals (ones ...
https://man.plustar.jp/python/c-api/unicode.html - [similar]