per page, with , order by , clip by
Results of 1 - 10 of about 12 for compound (0.007 sec.)
10. 完全な文法仕様 13513
10. 完全な文法仕様 以下は Python の完全な文法で、CPython のパーサを生成するための文法から直接得たものです ( Grammar/python.gram を参照)。 ここでは、コード生成とエラー回復に関する詳細を省略しています。 ここで使う記法は、これまでのドキュメント ... ] ')' '->' expression NEWLINE * ENDMARKER # GENERAL STATEMENTS # ================== statements : statement + statement : | compound_stmt | simple_stmts single_compound_stmt : | compound_stmt statement_newline : | single_compound_stmt NEWLINE | simple_stm ... | raise_stmt | pass_stmt | del_stmt | yield_stmt | assert_stmt | break_stmt | continue_stmt | global_stmt | nonlocal_stmt compound_stmt : | function_def | if_stmt | class_def | with_stmt | for_stmt | try_stmt | while_stmt | match_stmt # SIMPLE STATEMENT ... ames : | ',' . dotted_as_name + dotted_as_name : | dotted_name [ 'as' NAME ] dotted_name : | dotted_name '.' NAME | NAME # COMPOUND STATEMENTS # =================== # Common elements # --------------- block : | NEWLINE INDENT statements DEDENT | simple_s ...
https://man.mtool.work/python/3.14/reference/grammar.html
turtle --- タートルグラフィックス 11214
turtle --- タートルグラフィックス ソースコード: Lib/turtle.py Turtle star 単純な動きを繰り返すプログラムで、タートルは複雑な図形を描けます。 x-y 平面の (0, 0) から動き出す、亀のロボットを想像してください。 import turtle の後に turtle.forwar ... パラメータ : type_ -- 文字列 data -- type_ によって異なります 形状を表すデータ構造です。 type_ は文字列 "polygon"、"image"、"compound" のいずれかです。 data に指定する値は type_ によって変わります。 "polygon" では座標ペアのタプル、"image" では画像 (内部での ... み使用)、"compound" では None です。 複合形状は addcomponent() メソッドを使って組み立てます。 addcomponent ( poly , fill , outline = None ) パ ... ラメータ : poly -- 数値ペアのタプル fill -- 色 outline -- 色または None "compound" 型の形状に構成要素を追加します。 poly は多角形を表す数値ペアのタプルです。 fill は多角形の塗りつぶしの色、 outline は輪郭 ...
https://man.mtool.work/python/3.14/library/turtle.html
Python 言語リファレンス 9250
Python 言語リファレンス このリファレンスマニュアルは、Python 言語の構文と中核となる意味論を説明します。 簡潔な記述ですが、正確で網羅的であることを目指しています。 組み込みのオブジェクト型と関数については Python 組み込み機能リファレンス で説 ... 文 7.8. raise 文 7.9. break 文 7.10. continue 文 7.11. import 文 7.12. global 文 7.13. nonlocal 文 7.14. type 文 8. 複合文 (compound statement) 8.1. if 文 8.2. while 文 8.3. for 文 8.4. try 文 8.5. with 文 8.6. match 文 8.7. 関数定義 8.8. クラス定義 8.9. ...
https://man.mtool.work/python/3.14/reference/
9. トップレベル要素 9250
9. トップレベル要素 Python インタプリタは、標準入力や、プログラムの引数として与えられたスクリプト、対話的にタイプ入力された命令、モジュールのソースファイルなど、様々な入力源から入力を得ることができます。この章では、それぞれの場合に用いられる ... るとき。 9.3. 対話的入力 対話モードでの入力は、以下の文法の下に構文解析されます: interactive_input : [ stmt_list ] NEWLINE | compound_stmt NEWLINE | ENDMARKER 対話モードでは、(トップレベルの) 複合文の最後に空白行を入れなくてはならないことに注意してください ...
https://man.mtool.work/python/3.14/reference/toplevel_components.html
Tk によるグラフィカルユーザーインターフェース 8596
Tk によるグラフィカルユーザーインターフェース Tk/Tcl は長きにわたり Python の不可欠な一部でありつづけています。 Tk/Tcl は頑健でプラットホームに依存しないウィンドウ構築ツールキットであり、 Python プログラマは tkinter パッケージやその拡張の t ... 特殊なメソッド Screen 専用のメソッド 公開クラス 例外 ハウツー・ガイド How to automatically begin and end filling How to use compound shapes How to use the turtle module namespace How to use turtle graphics in a script How to use object-oriented turtle gra ...
https://man.mtool.work/python/3.14/library/tk.html
8. 複合文 (compound statement) 8596
8. 複合文 (compound statement) 複合文には、他の文 (のグループ) が入ります; 複合文は、中に入っている他の文の実行の制御に何らかのやり方で影響を及ぼします。一般的には、複合文は複数行にまたがって書かれますが、全部の文を一行に連ねた単純な書き方も ... か、全く実行されないかのどちらかです: if x < y < z : print ( x ); print ( y ); print ( z ) まとめると、以下のようになります: compound_stmt : if_stmt | while_stmt | for_stmt | try_stmt | with_stmt | match_stmt | funcdef | classdef | async_with_stmt | async_ ... for_stmt | async_funcdef suite : stmt_list NEWLINE | NEWLINE INDENT statement + DEDENT statement : stmt_list NEWLINE | compound_stmt stmt_list : simple_stmt ( ";" simple_stmt )* [ ";" ] なお、文は常に NEWLINE か、その後に DEDENT が続いたもので終了しま ...
https://man.mtool.work/python/3.14/reference/compound_stmts.html
tkinter.ttk --- Tk のテーマ付きウィジェット 7924
tkinter.ttk --- Tk のテーマ付きウィジェット ソースコード: Lib/tkinter/ttk.py tkinter.ttk モジュールは、Tk 8.5 で導入されたテーマ付きウィジェット群を提供します。 外観が固定されている従来の tkinter ウィジェットと異なり、プラットフォームのネイ ... くはある状態の組み合わせにいるときに使用する別の画像を指定します。このリストにある全ての画像は同じサイズでなればなりません。 compound text オプションと image オプションが両方とも指定されていた場合に、テキストに対して画像をどう配置するかを指定します。適当な ... に表示するテキストを指定します。 image タブに表示する画像を指定します。 Widget のオプション image の説明を参照してください。 compound text オプションと image オプションが両方指定されているときにテキストに対して画像をどう表示するかを指定します。指定する値に ...
https://man.mtool.work/python/3.14/library/tkinter.ttk.html
3. 形式ばらない Python の紹介 7924
3. 形式ばらない Python の紹介 以下の例ではプロンプト ( >>> と ... ) の有無で入力と出力を区別します。例を試すには、プロンプトが表示されているときに例のプロンプトより後ろの内容をすべて入力してください。プロンプトで始まらない行はインタープリタ ... 左オペランドに指定して行う従来のフォーマット操作について、詳しく説明しています。 3.1.3. リスト型 (list) Pythonは多くの 複合 (compound) データ型を備えており、複数の値をまとめるのに使われます。最も汎用性が高いのは リスト (list) で、コンマ区切りの値 (要素) の ...
https://man.mtool.work/python/3.14/tutorial/introduction.html
はじめに 7605
はじめに Python のアプリケーションプログラマー向けインターフェース (API) は、C と C++ のプログラマーに、Python インタープリタへのさまざまなレベルのアクセスを提供します。 C++ からも同様に使えますが、簡潔に Python/C API と呼びます。 Python/C ... e. The type-specific deallocator takes care of releasing references for other objects contained in the object if this is a compound object type, such as a list, as well as performing any additional finalization that's needed. There's no chance that the r ...
https://man.mtool.work/python/3.14/c-api/intro.html
Python ドキュメントの目次 7605
Python ドキュメントの目次 What's New in Python What's new in Python 3.14 概要 -- リリースハイライト 新しい機能 PEP 649 と PEP 749 : アノテーションの遅延評価 PEP 734 : 複数インタープリタ機能が標準ライブラリに追加 PEP 750 : テンプレート文字列 ... ontinue 文 7.11. import 文 7.11.1. future 文 (future statement) 7.12. global 文 7.13. nonlocal 文 7.14. type 文 8. 複合文 (compound statement) 8.1. if 文 8.2. while 文 8.3. for 文 8.4. try 文 8.4.1. except 節 8.4.2. except* 節 8.4.3. else 節 8.4.4. final ... 特殊なメソッド Screen 専用のメソッド 公開クラス 例外 ハウツー・ガイド How to automatically begin and end filling How to use compound shapes How to use the turtle module namespace How to use turtle graphics in a script How to use object-oriented turtle gra ...
https://man.mtool.work/python/3.14/contents.html
PREV 1 2 NEXT