per page, with , order by , clip by
Results of 1 - 10 of about 60 for forward (0.011 sec.)
cmd --- 行指向のコマンドインタープリターのサポート — Python 3.14.8 ドキュメント 13000
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » cmd --- 行指向のコマンドインタープリターのサポート テーマ 自動 ライト ダーク | cmd --- 行 ... の節では、 turtle モジュールのいくつかのコマンドを持ったシェルの作成方法の簡単な例を示します。 Basic turtle commands such as forward() are added to a Cmd subclass with method named do_forward() . The argument is converted to a number and dispatched to the ... e shell. Type help or ? to list commands. \n ' prompt = '(turtle) ' file = None # ----- basic turtle commands ----- def do_forward ( self , arg ): 'Move the turtle forward by the specified distance: FORWARD 10' forward ( * parse ( arg )) def do_right ( ... ed commands (type help <topic>): ======================================== bye color goto home playback record right circle forward heading left position reset undo (turtle) help forward Move the turtle forward by the specified distance: FORWARD 10 (turt ...
https://man.mtool.work/python/3.14/library/cmd.html
cmd --- 行指向のコマンドインタープリターのサポート — Python 3.14.8 ドキュメント 12579
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » cmd --- 行指向のコマンドインタープリターのサポート テーマ 自動 ライト ダーク | cmd --- 行 ... の節では、 turtle モジュールのいくつかのコマンドを持ったシェルの作成方法の簡単な例を示します。 Basic turtle commands such as forward() are added to a Cmd subclass with method named do_forward() . The argument is converted to a number and dispatched to the ... e shell. Type help or ? to list commands. \n ' prompt = '(turtle) ' file = None # ----- basic turtle commands ----- def do_forward ( self , arg ): 'Move the turtle forward by the specified distance: FORWARD 10' forward ( * parse ( arg )) def do_right ( ... ed commands (type help <topic>): ======================================== bye color goto home playback record right circle forward heading left position reset undo (turtle) help forward Move the turtle forward by the specified distance: FORWARD 10 (turt ...
https://man.mtool.work/python/3.14/library/cmd.html
annotationlib --- Functionality for introspecting annotations — Python 3.14.8 ... 10237
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » annotationlib --- Functionality for introspecting annotations テーマ 自動 ライト ダーク | annotationlib ... tools for introspecting annotations on modules, classes, and functions. Annotations are lazily evaluated and often contain forward references to objects that are not yet defined when the annotation is created. This module provides a set of low-level too ... ls that can be used to retrieve annotations in a reliable way, even in the presence of forward references and other edge cases. This module supports retrieving annotations in three main formats (see Format ), each of ... which works best for different use cases: VALUE evaluates the annotations and returns their value. This is most straightforward to work with, but it may raise errors, for example if the annotations contain references to undefined names. FORWARDREF re ...
https://man.mtool.work/python/3.14/library/annotationlib.html
turtle --- Turtle graphics — Python 3.14.8 ドキュメント 10237
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Graphical user interfaces with Tk » turtle --- Turtle graphics テーマ 自動 ライト ダーク | turtle --- Turtle graphics ¶ ソースコード ... e moves. Imagine a robotic turtle starting at (0, 0) in the x-y plane. After an import turtle , give it the command turtle.forward(15) , and it moves (on-screen!) 15 pixels in the direction it is facing, drawing a line as it moves. Give it the command t ... le named '_tkinter' error, you'll have to install the Tk interface package on your system. Basic drawing ¶ Send the turtle forward 100 steps: forward ( 100 ) You should see (most likely, in a new window on your display) a line drawn by the turtle, headi ... tion of the turtle, so that it turns 120 degrees left (anti-clockwise): left ( 120 ) Let's continue by drawing a triangle: forward ( 100 ) left ( 120 ) forward ( 100 ) Notice how the turtle, represented by an arrow, points in different directions as you ...
https://man.mtool.work/python/3.14/library/turtle.html
annotationlib --- Functionality for introspecting annotations — Python 3.14.8 ... 10237
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » annotationlib --- Functionality for introspecting annotations テーマ 自動 ライト ダーク | annotationlib ... tools for introspecting annotations on modules, classes, and functions. Annotations are lazily evaluated and often contain forward references to objects that are not yet defined when the annotation is created. This module provides a set of low-level too ... ls that can be used to retrieve annotations in a reliable way, even in the presence of forward references and other edge cases. This module supports retrieving annotations in three main formats (see Format ), each of ... which works best for different use cases: VALUE evaluates the annotations and returns their value. This is most straightforward to work with, but it may raise errors, for example if the annotations contain references to undefined names. FORWARDREF re ...
https://man.mtool.work/python/3.14/library/annotationlib.html
turtle --- Turtle graphics — Python 3.14.8 ドキュメント 10237
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Graphical user interfaces with Tk » turtle --- Turtle graphics テーマ 自動 ライト ダーク | turtle --- Turtle graphics ¶ ソースコード ... e moves. Imagine a robotic turtle starting at (0, 0) in the x-y plane. After an import turtle , give it the command turtle.forward(15) , and it moves (on-screen!) 15 pixels in the direction it is facing, drawing a line as it moves. Give it the command t ... le named '_tkinter' error, you'll have to install the Tk interface package on your system. Basic drawing ¶ Send the turtle forward 100 steps: forward ( 100 ) You should see (most likely, in a new window on your display) a line drawn by the turtle, headi ... tion of the turtle, so that it turns 120 degrees left (anti-clockwise): left ( 120 ) Let's continue by drawing a triangle: forward ( 100 ) left ( 120 ) forward ( 100 ) Notice how the turtle, represented by an arrow, points in different directions as you ...
https://man.mtool.work/python/3.14/library/turtle.html
numbers --- 数の抽象基底クラス — Python 3.14.8 ドキュメント 9423
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » numbers --- 数の抽象基底クラス テーマ 自動 ライト ダーク | numbers --- 数の抽象基底クラス ¶ ソースコード: Li ... land there, so a+b == b+a . ほとんどの演算はどのような型についても非常に良く似ていますので、与えられた演算子について順結合(forward)および逆結合(reverse)のメソッドを生成する支援関数を定義することは役に立ちます。たとえば、 fractions.Fraction では次のような ... ものを利用しています: def _operator_fallbacks ( monomorphic_operator , fallback_operator ): def forward ( a , b ): if isinstance ( b , ( int , Fraction )): return monomorphic_operator ( a , b ) elif isinstance ( b , float ): r ... oat ( a ), b ) elif isinstance ( b , complex ): return fallback_operator ( complex ( a ), b ) else : return NotImplemented forward . __name__ = '__' + fallback_operator . __name__ + '__' forward . __doc__ = monomorphic_operator . __doc__ def reverse ( b ...
https://man.mtool.work/python/3.14/library/numbers.html
numbers --- 数の抽象基底クラス — Python 3.14.8 ドキュメント 8914
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » numbers --- 数の抽象基底クラス テーマ 自動 ライト ダーク | numbers --- 数の抽象基底クラス ¶ ソースコード: Li ... land there, so a+b == b+a . ほとんどの演算はどのような型についても非常に良く似ていますので、与えられた演算子について順結合(forward)および逆結合(reverse)のメソッドを生成する支援関数を定義することは役に立ちます。たとえば、 fractions.Fraction では次のような ... ものを利用しています: def _operator_fallbacks ( monomorphic_operator , fallback_operator ): def forward ( a , b ): if isinstance ( b , ( int , Fraction )): return monomorphic_operator ( a , b ) elif isinstance ( b , float ): r ... oat ( a ), b ) elif isinstance ( b , complex ): return fallback_operator ( complex ( a ), b ) else : return NotImplemented forward . __name__ = '__' + fallback_operator . __name__ + '__' forward . __doc__ = monomorphic_operator . __doc__ def reverse ( b ...
https://man.mtool.work/python/3.14/library/numbers.html
typing --- 型ヒントのサポート — Python 3.14.8 ドキュメント 7998
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » typing --- 型ヒントのサポート テーマ 自動 ライト ダーク | typing --- 型ヒントのサポート ¶ Added in version 3.5. ソース ... TypeAlias = list [ int ] TypeAlias is particularly useful on older Python versions for annotating aliases that make use of forward references, as it can be hard for type checkers to distinguish these from normal variable assignments: from typing import ... Generic , TypeAlias , TypeVar T = TypeVar ( "T" ) # "Box" does not exist yet, # so we have to use quotes for the forward reference on Python <3.12. # Using ``TypeAlias`` tells the type checker that this is a type alias declaration, # not a var ... peAlias is deprecated in favor of the type statement, which creates instances of TypeAliasType and which natively supports forward references. Note that while TypeAlias and TypeAliasType serve similar purposes and have similar names, they are distinct a ...
https://man.mtool.work/python/3.14/library/typing.html
typing --- 型ヒントのサポート — Python 3.14.8 ドキュメント 7998
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » typing --- 型ヒントのサポート テーマ 自動 ライト ダーク | typing --- 型ヒントのサポート ¶ Added in version 3.5. ソース ... TypeAlias = list [ int ] TypeAlias is particularly useful on older Python versions for annotating aliases that make use of forward references, as it can be hard for type checkers to distinguish these from normal variable assignments: from typing import ... Generic , TypeAlias , TypeVar T = TypeVar ( "T" ) # "Box" does not exist yet, # so we have to use quotes for the forward reference on Python <3.12. # Using ``TypeAlias`` tells the type checker that this is a type alias declaration, # not a var ... peAlias is deprecated in favor of the type statement, which creates instances of TypeAliasType and which natively supports forward references. Note that while TypeAlias and TypeAliasType serve similar purposes and have similar names, they are distinct a ...
https://man.mtool.work/python/3.14/library/typing.html
PREV 1 2 3 4 5 6 NEXT