Results of 1 - 10 of about 19 for phrase (0.005 sec.)
- __main__ --- トップレベルのコード環境 — Python 3.14.8 ドキュメント 13216
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » __main__ --- トップレベルのコード環境 テーマ 自動 ライト ダーク | __main__ --- トップレベルのコード環境
...もよくあるのが、プログラムの主要な処理を main 関数の中にカプセル化することです: # echo.py import shlex import sys def echo ( phrase : str ) -> None : """A dummy wrapper around print.""" # for demonstration purposes, you can imagine that there is some # v...aluable and reusable logic inside this function print ( phrase ) def main () -> int : """Echo the input arguments to standard output""" phrase = shlex . join ( sys . argv ) echo ( phras...of sys.exit 注意すべき点として、もし main 関数内のコードをカプセル化せず if __name__ == '__main__' の下に直接書いた場合、 phrase 変数はモジュール全体からグローバルにアクセスできてしまいます。 モジュール内の他の関数が意図せずローカル変数ではなくそのグロ... - https://man.mtool.work/python/3.14/library/__main__.html
- __main__ --- トップレベルのコード環境 — Python 3.14.8 ドキュメント 12225
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » __main__ --- トップレベルのコード環境 テーマ 自動 ライト ダーク | __main__ --- トップレベルのコード環境
...もよくあるのが、プログラムの主要な処理を main 関数の中にカプセル化することです: # echo.py import shlex import sys def echo ( phrase : str ) -> None : """A dummy wrapper around print.""" # for demonstration purposes, you can imagine that there is some # v...aluable and reusable logic inside this function print ( phrase ) def main () -> int : """Echo the input arguments to standard output""" phrase = shlex . join ( sys . argv ) echo ( phras...of sys.exit 注意すべき点として、もし main 関数内のコードをカプセル化せず if __name__ == '__main__' の下に直接書いた場合、 phrase 変数はモジュール全体からグローバルにアクセスできてしまいます。 モジュール内の他の関数が意図せずローカル変数ではなくそのグロ... - https://man.mtool.work/python/3.14/library/__main__.html
- 1. はじめに — Python 3.14.8 ドキュメント 10501
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 1. はじめに テーマ 自動 ライト ダーク | 1. はじめに ¶ このリファレンスマニュアルは、Python プログラミング言語自体に関する記述です。チュ
...A star means zero or more repetitions of the preceding item. e+ : Likewise, a plus means one or more repetitions. [e] : A phrase enclosed in square brackets means zero or one occurrences. In other words, the enclosed phrase is optional. e? : A questio...eparated by three dots mean a choice of any single character in the given (inclusive) range of ASCII characters. <...> : A phrase between angular brackets gives an informal description of the matched symbol (for example, <any ASCII character except "\"... - https://man.mtool.work/python/3.14/reference/introduction.html
- 1. はじめに — Python 3.14.8 ドキュメント 10501
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 1. はじめに テーマ 自動 ライト ダーク | 1. はじめに ¶ このリファレンスマニュアルは、Python プログラミング言語自体に関する記述です。チュ
...A star means zero or more repetitions of the preceding item. e+ : Likewise, a plus means one or more repetitions. [e] : A phrase enclosed in square brackets means zero or one occurrences. In other words, the enclosed phrase is optional. e? : A questio...eparated by three dots mean a choice of any single character in the given (inclusive) range of ASCII characters. <...> : A phrase between angular brackets gives an informal description of the matched symbol (for example, <any ASCII character except "\"... - https://man.mtool.work/python/3.14/reference/introduction.html
- http --- HTTP モジュール群 — Python 3.14.8 ドキュメント 8537
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » http --- HTTP モジュール群 テーマ 自動 ライト ダーク | http --- HTTP モジュール群 ¶ ソースコー
...us >>> HTTPStatus . OK HTTPStatus.OK >>> HTTPStatus . OK == 200 True >>> HTTPStatus . OK . value 200 >>> HTTPStatus . OK . phrase 'OK' >>> HTTPStatus . OK . description 'Request fulfilled, document follows' >>> list ( HTTPStatus ) [HTTPStatus.CONTINUE,... - https://man.mtool.work/python/3.14/library/http.html
- http --- HTTP モジュール群 — Python 3.14.8 ドキュメント 8537
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » http --- HTTP モジュール群 テーマ 自動 ライト ダーク | http --- HTTP モジュール群 ¶ ソースコー
...us >>> HTTPStatus . OK HTTPStatus.OK >>> HTTPStatus . OK == 200 True >>> HTTPStatus . OK . value 200 >>> HTTPStatus . OK . phrase 'OK' >>> HTTPStatus . OK . description 'Request fulfilled, document follows' >>> list ( HTTPStatus ) [HTTPStatus.CONTINUE,... - https://man.mtool.work/python/3.14/library/http.html
- 2. 字句解析 — Python 3.14.8 ドキュメント 7803
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 2. 字句解析 テーマ 自動 ライト ダーク | 2. 字句解析 ¶ A Python program is read by a parser . Input to the parser is a stream of tokens
.... Note that not all valid inputs for those constructors are also valid literals. Numeric literals do not include a sign; a phrase like -1 is actually an expression composed of the unary operator ' - ' and the literal 1 . 2.6.1. 整数リテラル ¶ Integer l... - https://man.mtool.work/python/3.14/reference/lexical_analysis.html
- 2. 字句解析 — Python 3.14.8 ドキュメント 7803
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 2. 字句解析 テーマ 自動 ライト ダーク | 2. 字句解析 ¶ A Python program is read by a parser . Input to the parser is a stream of tokens
.... Note that not all valid inputs for those constructors are also valid literals. Numeric literals do not include a sign; a phrase like -1 is actually an expression composed of the unary operator ' - ' and the literal 1 . 2.6.1. 整数リテラル ¶ Integer l... - https://man.mtool.work/python/3.14/reference/lexical_analysis.html
- optparse --- Parser for command line options — Python 3.14.8 ドキュメント 7564
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » optparse --- Parser for command line options テーマ 自動 ライト ダーク | optparse --- Pa
...置かれているものです。 必須のオプション (required option) an option that must be supplied on the command-line; note that the phrase "required option" is self-contradictory in English. optparse doesn't prevent you from implementing required options, but d... - https://man.mtool.work/python/3.14/library/optparse.html
- 6. 式 (expression) — Python 3.14.8 ドキュメント 7564
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 6. 式 (expression) テーマ 自動 ライト ダーク | 6. 式 (expression) ¶ この章では、Python の式における個々の要素の意味について解説します。
...味付けと同じになります。 6.1. 算術変換 (arithmetic conversion) ¶ When a description of an arithmetic operator below uses the phrase "the numeric arguments are converted to a common real type", this means that the operator implementation for built-in nume... - https://man.mtool.work/python/3.14/reference/expressions.html