Results of 1 - 10 of about 123 for integers (0.036 sec.)
- tkinter.colorchooser --- カラー選択ダイアログ — Python 3.14.8 ドキュメント 11228
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Graphical user interfaces with Tk » tkinter.colorchooser --- カラー選択ダイアログ テーマ 自動 ライト ダーク | tkinter.colorchooser
...ialog opens. The return value is a tuple ((r, g, b), hexstr) , where r , g and b are the red, green and blue components as integers in the range 0–255 and hexstr is the equivalent Tk color string, such as '#ff8000' . If the user cancels the dialog, (None..., None) is returned. バージョン 3.10 で変更: The RGB values in the returned color are now integers in the range 0–255 instead of floats. 参考 モジュール tkinter.commondialog Tkinter標準ダイアログモジュール 関連キーワード...color tkinter class dialog colorchooser Chooser None modal choosing ダイアログ options askcolor return hexstr integers range returned モジュール カラー 選択 前のトピックへ tkinter --- Tcl/Tk の Python インターフェース 次のトピックへ tkinter.... - https://man.mtool.work/python/3.14/library/tkinter.colorchooser.html
- tkinter.colorchooser --- カラー選択ダイアログ — Python 3.14.8 ドキュメント 11228
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Graphical user interfaces with Tk » tkinter.colorchooser --- カラー選択ダイアログ テーマ 自動 ライト ダーク | tkinter.colorchooser
...ialog opens. The return value is a tuple ((r, g, b), hexstr) , where r , g and b are the red, green and blue components as integers in the range 0–255 and hexstr is the equivalent Tk color string, such as '#ff8000' . If the user cancels the dialog, (None..., None) is returned. バージョン 3.10 で変更: The RGB values in the returned color are now integers in the range 0–255 instead of floats. 参考 モジュール tkinter.commondialog Tkinter標準ダイアログモジュール 関連キーワード...color tkinter dialog colorchooser Chooser None modal choosing ダイアログ options askcolor return hexstr integers range returned カラー 選択 ソースコード module provides interface native picker implements 前のトピックへ tkinter --- Tcl/... - https://man.mtool.work/python/3.14/library/tkinter.colorchooser.html
- math --- 数学関数 — Python 3.14.8 ドキュメント 10290
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » math --- 数学関数 テーマ 自動 ライト ダーク | math --- 数学関数 ¶ This module provides access to common math
...s comb(n, k) Number of ways to choose k items from n items without repetition and without order factorial(n) n の階乗 gcd(*integers) 整数引数の最大公約数 isqrt(n) Integer square root of a nonnegative integer n lcm(*integers) Least common multiple of the...to the coefficient of k-th term in polynomial expansion of (1 + x)ⁿ . Raises TypeError if either of the arguments are not integers. Raises ValueError if either of the arguments are negative. Added in version 3.8. math. factorial ( n ) ¶ Return factorial...negative integer n . バージョン 3.10 で変更: Floats with integral values (like 5.0 ) are no longer accepted. math. gcd ( * integers ) ¶ Return the greatest common divisor of the specified integer arguments. If any of the arguments is nonzero, then the re... - https://man.mtool.work/python/3.14/library/math.html
- math --- 数学関数 — Python 3.14.8 ドキュメント 10290
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » math --- 数学関数 テーマ 自動 ライト ダーク | math --- 数学関数 ¶ This module provides access to common math
...s comb(n, k) Number of ways to choose k items from n items without repetition and without order factorial(n) n の階乗 gcd(*integers) 整数引数の最大公約数 isqrt(n) Integer square root of a nonnegative integer n lcm(*integers) Least common multiple of the...to the coefficient of k-th term in polynomial expansion of (1 + x)ⁿ . Raises TypeError if either of the arguments are not integers. Raises ValueError if either of the arguments are negative. Added in version 3.8. math. factorial ( n ) ¶ Return factorial...negative integer n . バージョン 3.10 で変更: Floats with integral values (like 5.0 ) are no longer accepted. math. gcd ( * integers ) ¶ Return the greatest common divisor of the specified integer arguments. If any of the arguments is nonzero, then the re... - https://man.mtool.work/python/3.14/library/math.html
- 変更履歴 — Python 3.14.8 ドキュメント 9587
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...placed string object from leaking. gh-133932 : Fix crash in the free threading build when clearing frames that hold tagged integers. gh-142343 : Fix SIGILL crash on m68k due to incorrect assembly constraint. gh-100964 : Fix reference cycle in exhausted g...pect.getsourcelines() and inspect.getsource() for generator expressions. gh-137044 : Return large limit values as positive integers instead of negative integers in resource.getrlimit() . Accept large values and reject negative values (except RLIM_INFINIT...DEBUG builds when an HACL* HMAC routine fails. Patch by Bénédikt Tran. gh-135487 : Fix reprlib.Repr.repr_int() when given integers with more than sys.get_int_max_str_digits() digits. Patch by Bénédikt Tran. gh-135335 : multiprocessing : Flush stdout and... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー — Pytho... 9118
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー テーマ 自動 ライ
...False に設定してください: >>> parser = argparse . ArgumentParser ( exit_on_error = False ) >>> parser . add_argument ( '--integers' , type = int ) _StoreAction(option_strings=['--integers'], dest='integers', nargs=None, const=None, default=None, type=<c...lass 'int'>, choices=None, help=None, metavar=None) >>> try : ... parser . parse_args ( '--integers a' . split ()) ... except argparse . ArgumentError : ... print ( 'Catching an argumentError' ) ... Catching an argumentErr...ing the parser instead of using the keyword argument: >>> parser = argparse . ArgumentParser ( description = 'Process some integers.' ) >>> parser . suggest_on_error = True Added in version 3.14. color ¶ By default, the help message is printed in color u... - https://man.mtool.work/python/3.14/library/argparse.html
- argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー — Pytho... 9118
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » argparse --- コマンドラインオプションや引数、サブコマンド向けのパーサー テーマ 自動 ライ
...False に設定してください: >>> parser = argparse . ArgumentParser ( exit_on_error = False ) >>> parser . add_argument ( '--integers' , type = int ) _StoreAction(option_strings=['--integers'], dest='integers', nargs=None, const=None, default=None, type=<c...lass 'int'>, choices=None, help=None, metavar=None) >>> try : ... parser . parse_args ( '--integers a' . split ()) ... except argparse . ArgumentError : ... print ( 'Catching an argumentError' ) ... Catching an argumentErr...ing the parser instead of using the keyword argument: >>> parser = argparse . ArgumentParser ( description = 'Process some integers.' ) >>> parser . suggest_on_error = True Added in version 3.14. color ¶ By default, the help message is printed in color u... - https://man.mtool.work/python/3.14/library/argparse.html
- 整数型オブジェクト (integer object) — Python 3.14.8 ドキュメント 8883
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » 整数型オブジェクト (integer object) テーマ 自動 ライト ダーク | 整数型オブジェクト (i
...トを生成して返します。失敗のときには NULL を返します。 CPython 実装の詳細: CPython keeps an array of integer objects for all integers between -5 and 256 . When you create an int in that range you actually just get back a reference to the existing object. P...es will raise TypeError . 注釈 With the default flags ( -1 , or UNSIGNED_BUFFER without REJECT_NEGATIVE ), multiple Python integers can map to a single value without overflow. For example, both 255 and -1 fit a single-byte buffer and set all its bits. Th...int PyLong_GetSign ( PyObject * obj , int * sign ) ¶ Get the sign of the integer object obj . On success, set *sign to the integer sign (0, -1 or +1 for zero, negative or positive integer, respectively) and return 0. On failure, return -1 with an excepti... - https://man.mtool.work/python/3.14/c-api/long.html
- 整数型オブジェクト (integer object) — Python 3.14.8 ドキュメント 8883
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » 整数型オブジェクト (integer object) テーマ 自動 ライト ダーク | 整数型オブジェクト (i
...トを生成して返します。失敗のときには NULL を返します。 CPython 実装の詳細: CPython keeps an array of integer objects for all integers between -5 and 256 . When you create an int in that range you actually just get back a reference to the existing object. P...es will raise TypeError . 注釈 With the default flags ( -1 , or UNSIGNED_BUFFER without REJECT_NEGATIVE ), multiple Python integers can map to a single value without overflow. For example, both 255 and -1 fit a single-byte buffer and set all its bits. Th...int PyLong_GetSign ( PyObject * obj , int * sign ) ¶ Get the sign of the integer object obj . On success, set *sign to the integer sign (0, -1 or +1 for zero, negative or positive integer, respectively) and return 0. On failure, return -1 with an excepti... - https://man.mtool.work/python/3.14/c-api/long.html
- 6. 式 (expression) — Python 3.14.8 ドキュメント 7958
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 6. 式 (expression) テーマ 自動 ライト ダーク | 6. 式 (expression) ¶ この章では、Python の式における個々の要素の意味について解説します。
...指しているか、まったく同じ値を持つ別のオブジェクトになります。 CPython implementation detail For example, in CPython, small integers with the same value evaluate to the same object: >>> x = 7 >>> y = 7 >>> x is y True However, large integers evaluate to d...is y False This behavior may change in future versions of CPython. In particular, the boundary between "small" and "large" integers has already changed in the past. CPython will emit a SyntaxWarning when you compare literals using is : >>> x = 7 >>> x is...operators yield the quotient of their arguments. The numeric arguments are first converted to a common type . Division of integers yields a float, while floor division of integers results in an integer; the result is that of mathematical division with t... - https://man.mtool.work/python/3.14/reference/expressions.html