per page, with , order by , clip by
Results of 1 - 10 of about 45 for black (0.011 sec.)
列挙型 HOWTO — Python 3.14.8 ドキュメント 11790
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » 列挙型 HOWTO テーマ 自動 ライト ダーク | 列挙型 HOWTO ¶ Enum は、ユニークな値に束縛されたシンボル名の集合です。グローバル変数に似ていますが、 repr ... <Color.WHITE: 7> "フラグが設定されていない" 状態に名前を付けても、その真偽値は変わりません: >>> class Color ( Flag ): ... BLACK = 0 ... RED = auto () ... BLUE = auto () ... GREEN = auto () ... >>> Color . BLACK <Color.BLACK: 0> >>> bool ( Color . BLA ... Color.RED|GREEN|BLUE: 7> Flag and IntFlag minutia ¶ 例として以下のスニペットを使用します: >>> class Color ( IntFlag ): ... BLACK = 0 ... RED = 1 ... GREEN = 2 ... BLUE = 4 ... PURPLE = RED | BLUE ... WHITE = RED | GREEN | BLUE ... the following are tr ... s: >>> Color . RED | Color . BLUE <Color.PURPLE: 5> >>> Color ( 7 ) # or Color(-1) <Color.WHITE: 7> >>> Color ( 0 ) <Color.BLACK: 0> メンバーシップ/包含 のチェックでは、値が0のフラグは常に含まれるものとして扱われます: >>> Color . BLACK in Color . WHIT ...
https://man.mtool.work/python/3.14/howto/enum.html
列挙型 HOWTO — Python 3.14.8 ドキュメント 11790
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » 列挙型 HOWTO テーマ 自動 ライト ダーク | 列挙型 HOWTO ¶ Enum は、ユニークな値に束縛されたシンボル名の集合です。グローバル変数に似ていますが、 repr ... <Color.WHITE: 7> "フラグが設定されていない" 状態に名前を付けても、その真偽値は変わりません: >>> class Color ( Flag ): ... BLACK = 0 ... RED = auto () ... BLUE = auto () ... GREEN = auto () ... >>> Color . BLACK <Color.BLACK: 0> >>> bool ( Color . BLA ... Color.RED|GREEN|BLUE: 7> Flag and IntFlag minutia ¶ 例として以下のスニペットを使用します: >>> class Color ( IntFlag ): ... BLACK = 0 ... RED = 1 ... GREEN = 2 ... BLUE = 4 ... PURPLE = RED | BLUE ... WHITE = RED | GREEN | BLUE ... the following are tr ... s: >>> Color . RED | Color . BLUE <Color.PURPLE: 5> >>> Color ( 7 ) # or Color(-1) <Color.WHITE: 7> >>> Color ( 0 ) <Color.BLACK: 0> メンバーシップ/包含 のチェックでは、値が0のフラグは常に含まれるものとして扱われます: >>> Color . BLACK in Color . WHIT ...
https://man.mtool.work/python/3.14/howto/enum.html
What's New In Python 3.10 — Python 3.14.8 ドキュメント 10473
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.10 テーマ 自動 ライト ダーク | What's New In Python 3.10 ¶ 編集者 : Pablo Galindo Salgado この記事では Python 3.9 と ... ute here. Maybe you meant '==' instead of '='? (Pablo Galindo の貢献による bpo-43797 ) f-stringで * を使用している: >>> f "Black holes { * all_black_holes } and revelations" File "<stdin>" , line 1 ( * all_black_holes ) ^ SyntaxError : f-string: canno ... y() will offer suggestions of similar variable names in the function that the exception was raised from: >>> schwarzschild_black_hole = None >>> schwarschild_black_hole Traceback (most recent call last): File "<stdin>" , line 1 , in <module> NameError ... : name 'schwarschild_black_hole' is not defined. Did you mean: schwarzschild_black_hole? (Pablo Galindo の貢献による bpo-38530 ) 警告 Notice this won ...
https://man.mtool.work/python/3.14/whatsnew/3.10.html
What's New In Python 3.10 — Python 3.14.8 ドキュメント 10473
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.10 テーマ 自動 ライト ダーク | What's New In Python 3.10 ¶ 編集者 : Pablo Galindo Salgado この記事では Python 3.9 と ... ute here. Maybe you meant '==' instead of '='? (Pablo Galindo の貢献による bpo-43797 ) f-stringで * を使用している: >>> f "Black holes { * all_black_holes } and revelations" File "<stdin>" , line 1 ( * all_black_holes ) ^ SyntaxError : f-string: canno ... y() will offer suggestions of similar variable names in the function that the exception was raised from: >>> schwarzschild_black_hole = None >>> schwarschild_black_hole Traceback (most recent call last): File "<stdin>" , line 1 , in <module> NameError ... : name 'schwarschild_black_hole' is not defined. Did you mean: schwarzschild_black_hole? (Pablo Galindo の貢献による bpo-38530 ) 警告 Notice this won ...
https://man.mtool.work/python/3.14/whatsnew/3.10.html
turtle --- Turtle graphics — Python 3.14.8 ドキュメント 9830
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Graphical user interfaces with Tk » turtle --- Turtle graphics テーマ 自動 ライト ダーク | turtle --- Turtle graphics ¶ ソースコード ... キーワード引数として渡すこともできます。一つの文で幾つものペンの属性を設定するのに使えます。 >>> turtle . pen ( fillcolor = "black" , pencolor = "red" , pensize = 10 ) >>> sorted ( turtle . pen () . items ()) [('fillcolor', 'black'), ('outline', 1), ('p ... ... turtle . pensize ( 3 ) turtle. fill ( ) ¶ Fill the shape drawn in the with turtle.fill(): block. >>> turtle . color ( "black" , "red" ) >>> with turtle . fill (): ... turtle . circle ( 80 ) Using fill() is equivalent to adding the begin_fill() bef ... ore the fill-block and end_fill() after the fill-block: >>> turtle . color ( "black" , "red" ) >>> turtle . begin_fill () >>> turtle . circle ( 80 ) >>> turtle . end_fill () Added in version 3.14. turtle. b ...
https://man.mtool.work/python/3.14/library/turtle.html
turtle --- Turtle graphics — Python 3.14.8 ドキュメント 9830
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Graphical user interfaces with Tk » turtle --- Turtle graphics テーマ 自動 ライト ダーク | turtle --- Turtle graphics ¶ ソースコード ... キーワード引数として渡すこともできます。一つの文で幾つものペンの属性を設定するのに使えます。 >>> turtle . pen ( fillcolor = "black" , pencolor = "red" , pensize = 10 ) >>> sorted ( turtle . pen () . items ()) [('fillcolor', 'black'), ('outline', 1), ('p ... ... turtle . pensize ( 3 ) turtle. fill ( ) ¶ Fill the shape drawn in the with turtle.fill(): block. >>> turtle . color ( "black" , "red" ) >>> with turtle . fill (): ... turtle . circle ( 80 ) Using fill() is equivalent to adding the begin_fill() bef ... ore the fill-block and end_fill() after the fill-block: >>> turtle . color ( "black" , "red" ) >>> turtle . begin_fill () >>> turtle . circle ( 80 ) >>> turtle . end_fill () Added in version 3.14. turtle. b ...
https://man.mtool.work/python/3.14/library/turtle.html
random --- 疑似乱数を生成する — Python 3.14.8 ドキュメント 9171
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » random --- 疑似乱数を生成する テーマ 自動 ライト ダーク | random --- 疑似乱数を生成する ¶ ソースコード: Lib/ ... 10, 50, 30] シミュレーション: >>> # Six roulette wheel spins (weighted sampling with replacement) >>> choices ([ 'red' , 'black' , 'green' ], [ 18 , 18 , 2 ], k = 6 ) ['red', 'green', 'black', 'black', 'red', 'black'] >>> # Deal 20 cards without repl ...
https://man.mtool.work/python/3.14/library/random.html
random --- 疑似乱数を生成する — Python 3.14.8 ドキュメント 9171
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » random --- 疑似乱数を生成する テーマ 自動 ライト ダーク | random --- 疑似乱数を生成する ¶ ソースコード: Lib/ ... 10, 50, 30] シミュレーション: >>> # Six roulette wheel spins (weighted sampling with replacement) >>> choices ([ 'red' , 'black' , 'green' ], [ 18 , 18 , 2 ], k = 6 ) ['red', 'green', 'black', 'black', 'red', 'black'] >>> # Deal 20 cards without repl ...
https://man.mtool.work/python/3.14/library/random.html
Python で Curses プログラミング — Python 3.14.8 ドキュメント 8850
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Python で Curses プログラミング テーマ 自動 ライト ダーク | Python で Curses プログラミング ¶ Author : A.M. Kuchling, Eric S. Raymond Release : 2. ... nges the definition of color pair n , to foreground color f and background color b. Color pair 0 is hard-wired to white on black, and cannot be changed. Colors are numbered, and start_color() initializes 8 basic colors when it activates color mode. Th ... ey are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. The curses module defines named constants for each of t ... hese colors: curses.COLOR_BLACK , curses.COLOR_RED , and so forth. やってみましょう。カラー 1 を白背景に赤に変更してみましょう、こうして呼び出します: curs ...
https://man.mtool.work/python/3.14/howto/curses.html
Python で Curses プログラミング — Python 3.14.8 ドキュメント 8850
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Python で Curses プログラミング テーマ 自動 ライト ダーク | Python で Curses プログラミング ¶ Author : A.M. Kuchling, Eric S. Raymond Release : 2. ... nges the definition of color pair n , to foreground color f and background color b. Color pair 0 is hard-wired to white on black, and cannot be changed. Colors are numbered, and start_color() initializes 8 basic colors when it activates color mode. Th ... ey are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. The curses module defines named constants for each of t ... hese colors: curses.COLOR_BLACK , curses.COLOR_RED , and so forth. やってみましょう。カラー 1 を白背景に赤に変更してみましょう、こうして呼び出します: curs ...
https://man.mtool.work/python/3.14/howto/curses.html
PREV 1 2 3 4 5 NEXT