Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 47 for integer (0.011 sec.)
Boolean オブジェクト — Python 3.6.5 ドキュメント 8436
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... TURN , メソッド 前のトピックへ 整数型オブジェクト (integer object) 次のトピックへ 浮動小数点型オブジェクト (f ...
https://man.plustar.jp/python/c-api/bool.html - [similar]
整数型オブジェクト (integer object) — Python 3.6.5 ドキュメント 8436
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... クト (concrete object) レイヤ » 整数型オブジェクト (integer object) ¶ すべての整数は任意の長さをもつ "long" 整 ...
https://man.plustar.jp/python/c-api/long.html - [similar]
9.4. decimal --- 十進固定及び浮動小数点数の算術演算 — Python 3.6.5 ドキュメント 8436
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 上桁の小数点からの相対位置を調べる際に使います。 as_integer_ratio ( ) ¶ 与えられた Decimal インスタンスを、既約 ... ア (n, d) を返します。 >>> Decimal ( '-3.14' ) . as_integer_ratio () (-157, 50) 変換は正確に行われます。無限大 ... ity % x sqrt ( - x ) and x > 0 0 ** 0 x ** ( non - integer ) x ** Infinity class decimal. Overflow ¶ 数値オー ... ') >>> a - b Decimal('99.55') >>> a * 42 # So does integer multiplication Decimal('4314.24') >>> ( a * b ) . ...
https://man.plustar.jp/python/library/decimal.html - [similar]
4. 組み込み型 — Python 3.6.5 ドキュメント 8436
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ト単位演算 ¶ Bitwise operations only make sense for integers. Negative numbers are treated as their 2's comple ... 型はまた、以下の追加のメソッドを持ちます。 float. as_integer_ratio ( ) ¶ 比が元の浮動小数点数とちょうど同じで分 ... aN) に対しては ValueError を送出します。 float. is_integer ( ) ¶ 浮動小数点数インスタンスが有限の整数値なら T ... そうでなければ False を返します: >>> ( - 2.0 ) . is_integer () True >>> ( 3.2 ) . is_integer () False 16 進表記 ...
https://man.plustar.jp/python/library/stdtypes.html - [similar]
13.1. zlib --- gzip 互換の圧縮 — Python 3.6.5 ドキュメント 8041
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... tes object containing compressed data. level is an integer from 0 to 9 or -1 controlling the level of compres ... トを返します。 level is the compression level -- an integer from 0 to 9 or -1 . A value of 1 (Z_BEST_SPEED) is ...
https://man.plustar.jp/python/library/zlib.html - [similar]
6. 式 (expression) — Python 3.6.5 ドキュメント 8041
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ ... ています: literal ::= stringliteral | bytesliteral | integer | floatnumber | imagnumber リテラルの評価は、与えら ... equence, the expression (list) must evaluate to an integer or a slice (as discussed in the following section) ... n y is True if and only if there is a non-negative integer index i such that x == y[i] , and all lower intege ...
https://man.plustar.jp/python/reference/expressions.html - [similar]
具象オブジェクト (concrete object) レイヤ — Python 3.6.5 ドキュメント 7646
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... オブジェクト (numeric object) ¶ 整数型オブジェクト (integer object) Boolean オブジェクト 浮動小数点型オブジェク ...
https://man.plustar.jp/python/c-api/concrete.html - [similar]
Argument Clinic How-To — Python 3.6.5 ドキュメント 7646
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Argu ... e to this set. bitwise Only supported for unsigned integers. The native integer value of this Python argument ... r success, and NULL for failure. But if you use an integer return converter, all integers are valid. How can ... example, here's a Python block that adds a static integer variable to the C code: /*[python input] print('st ...
https://man.plustar.jp/python/howto/clinic.html - [similar]
16.4. argparse --- コマンドラインオプション、引数、サブコマンドのパーサー — Pyt... 7646
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... rse . ArgumentParser ( description = 'Process some integers.' ) parser . add_argument ( 'integers' , metavar ... = 'N' , type = int , nargs = '+' , help = 'an integer for the accumulator' ) parser . add_argument ( '-- ... t' , const = sum , default = max , help = 'sum the integers (default: find the max)' ) args = parser . parse_ ... args () print ( args . accumulate ( args . integers )) 上の Python コードが prog.py という名前のファイ ...
https://man.plustar.jp/python/library/argparse.html - [similar]
26.3. doctest --- 対話的な実行例をテストする — Python 3.6.5 ドキュメント 7646
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... rial ( n ): """Return the factorial of n, an exact integer >= 0. >>> [factorial(n) for n in range(6)] [1, 1, ... s of floats are OK, but the float must be an exact integer: >>> factorial(30.1) Traceback (most recent call l ... ast): ... ValueError: n must be exact integer >>> factorial(30.0) 265252859812191058636308480000 ... r ( n ) != n : raise ValueError ( "n must be exact integer" ) if n + 1 == n : # catch a value like 1e300 rais ...
https://man.plustar.jp/python/library/doctest.html - [similar]
PREV 1 2 3 4 5 NEXT