Results of 1 - 10 of about 118 for conversion (0.007 sec.)
- string.templatelib --- テンプレート文字列リテラルのサポート — Python 3.14.8 ド... 14069
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » テキスト処理サービス » string.templatelib --- テンプレート文字列リテラルのサポート テーマ 自動 ライト ダーク | string.templatelib -
...olation Interpolation(3.0, '1. + 2.', None, '.2f') >>> match interpolation : ... case Interpolation ( value , expression , conversion , format_spec ): ... print ( value , expression , conversion , format_spec , sep = ' | ' ) ... 3.0 | 1. + 2. | None | .2f...ation instances, although this is not enforced at runtime. >>> t ' { 1 + 2 } ' . interpolations [ 0 ] . expression '1 + 2' conversion : Literal [ 'a' , 'r' , 's' ] | None ¶ The conversion to apply to the value, or None . The conversion is the optional conv...ersion to apply to the value: >>> t ' { 1 + 2 !a} ' . interpolations [ 0 ] . conversion 'a' 注釈 Unlike f-strings, where conversions are applied automatically, the expected behavior with t-strings is that code... - https://man.mtool.work/python/3.14/library/string.templatelib.html
- string.templatelib --- テンプレート文字列リテラルのサポート — Python 3.14.8 ド... 14069
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » テキスト処理サービス » string.templatelib --- テンプレート文字列リテラルのサポート テーマ 自動 ライト ダーク | string.templatelib -
...olation Interpolation(3.0, '1. + 2.', None, '.2f') >>> match interpolation : ... case Interpolation ( value , expression , conversion , format_spec ): ... print ( value , expression , conversion , format_spec , sep = ' | ' ) ... 3.0 | 1. + 2. | None | .2f...ation instances, although this is not enforced at runtime. >>> t ' { 1 + 2 } ' . interpolations [ 0 ] . expression '1 + 2' conversion : Literal [ 'a' , 'r' , 's' ] | None ¶ The conversion to apply to the value, or None . The conversion is the optional conv...ersion to apply to the value: >>> t ' { 1 + 2 !a} ' . interpolations [ 0 ] . conversion 'a' 注釈 Unlike f-strings, where conversions are applied automatically, the expected behavior with t-strings is that code... - https://man.mtool.work/python/3.14/library/string.templatelib.html
- ast --- Abstract syntax trees — Python 3.14.8 ドキュメント 8693
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » ast --- Abstract syntax trees テーマ 自動 ライト ダーク | ast --- Abstract syntax trees ¶ ソースコード: Lib/as
...p * ops , expr * comparators ) | Call ( expr func , expr * args , keyword * keywords ) | FormattedValue ( expr value , int conversion , expr ? format_spec ) | Interpolation ( expr value , constant str , int conversion , expr ? format_spec ) | JoinedStr ( e..." , mode = 'eval' ), indent = 4 )) Expression( body=Constant(value='hello', kind='u')) class ast. FormattedValue ( value , conversion , format_spec ) ¶ このノードは f-string における単一の書式指定置換フィールドを表現します。文字列が単一の置換フィールドしか...ない場合は JoinedStr の一部としてあらわれます。 value は式ツリーのノードのいずれか (リテラル、変数、関数呼び出しなど) です。 conversion は整数です: -1: 書式指定なし 97 ( ord('a') ): !a ASCII formatting 114 ( ord('r') ): !r repr() formatting 115 ( ord('s') ):... - https://man.mtool.work/python/3.14/library/ast.html
- ast --- Abstract syntax trees — Python 3.14.8 ドキュメント 8693
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » ast --- Abstract syntax trees テーマ 自動 ライト ダーク | ast --- Abstract syntax trees ¶ ソースコード: Lib/as
...p * ops , expr * comparators ) | Call ( expr func , expr * args , keyword * keywords ) | FormattedValue ( expr value , int conversion , expr ? format_spec ) | Interpolation ( expr value , constant str , int conversion , expr ? format_spec ) | JoinedStr ( e..." , mode = 'eval' ), indent = 4 )) Expression( body=Constant(value='hello', kind='u')) class ast. FormattedValue ( value , conversion , format_spec ) ¶ このノードは f-string における単一の書式指定置換フィールドを表現します。文字列が単一の置換フィールドしか...ない場合は JoinedStr の一部としてあらわれます。 value は式ツリーのノードのいずれか (リテラル、変数、関数呼び出しなど) です。 conversion は整数です: -1: 書式指定なし 97 ( ord('a') ): !a ASCII formatting 114 ( ord('r') ): !r repr() formatting 115 ( ord('s') ):... - https://man.mtool.work/python/3.14/library/ast.html
- 文字列の変換と書式化 — Python 3.14.8 ドキュメント 8581
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » ユーティリティ » 文字列の変換と書式化 テーマ 自動 ライト ダーク | 文字列の変換と書式化 ¶ 数値変換と、書式化文字列出力のための関数
...められており、成功するためには rv + 1 バイトが必要だったことを示します。 str[size-1] は '\0' です。 When rv < 0 , the output conversion failed and str[size-1] is '\0' in this case too, but the rest of str is undefined. The exact cause of the error depends on...out of range of corresponding return type, range error occurs ( errno is set to ERANGE ) and ULONG_MAX is returned. If no conversion can be performed, 0 is returned. See also the Unix man page strtoul(3) . Added in version 3.2. long PyOS_strtol ( const ch...n other platforms, they are aliases of PyOS_mystricmp() and PyOS_mystrnicmp() , respectively. Character classification and conversion ¶ The following macros provide locale-independent (unlike the C standard library ctype.h ) character classification and co... - https://man.mtool.work/python/3.14/c-api/conversion.html
- ユーティリティ — Python 3.14.8 ドキュメント 8356
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » ユーティリティ テーマ 自動 ライト ダーク | ユーティリティ ¶ この章の関数は、C で書かれたコードをプラットフォーム間で可搬性のあるも
...引数を解析する 文字列とバッファ 数 その他のオブジェクト API 関数 値の構築 文字列の変換と書式化 Character classification and conversion PyHash API リフレクション codec レジストリとサポート関数 コーデック検索API Unicode エラーハンドラ用レジストリ API Codec ut...ility variables PyTime C API 型 Clock Functions Raw Clock Functions Conversion functions Support for Perf Maps 関連キーワード ユーティリティ 構築 解釈 サポート レジストリ Clock Functions コード プラット...ム 可搬性 タスク オペレーティングシステム 関連 制御 インポート 整列 marshalling 解析 バッファ 書式 Character classification conversion PyHash リフレクション 前のトピックへ 拡張モジュールの定義 次のトピックへ オペレーティングシステム関連のユーティリティ This... - https://man.mtool.work/python/3.14/c-api/utilities.html
- 文字列の変換と書式化 — Python 3.14.8 ドキュメント 8132
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » ユーティリティ » 文字列の変換と書式化 テーマ 自動 ライト ダーク | 文字列の変換と書式化 ¶ 数値変換と、書式化文字列出力のための関数
...められており、成功するためには rv + 1 バイトが必要だったことを示します。 str[size-1] は '\0' です。 When rv < 0 , the output conversion failed and str[size-1] is '\0' in this case too, but the rest of str is undefined. The exact cause of the error depends on...out of range of corresponding return type, range error occurs ( errno is set to ERANGE ) and ULONG_MAX is returned. If no conversion can be performed, 0 is returned. See also the Unix man page strtoul(3) . Added in version 3.2. long PyOS_strtol ( const ch...n other platforms, they are aliases of PyOS_mystricmp() and PyOS_mystrnicmp() , respectively. Character classification and conversion ¶ The following macros provide locale-independent (unlike the C standard library ctype.h ) character classification and co... - https://man.mtool.work/python/3.14/c-api/conversion.html
- string --- 一般的な文字列操作 — Python 3.14.8 ドキュメント 7458
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » テキスト処理サービス » string --- 一般的な文字列操作 テーマ 自動 ライト ダーク | string --- 一般的な文字列操作 ¶ Source code: Lib/s
...ドが定義されています。 parse ( format_string ) ¶ format_stringを探査し、タプル、 ( literal_text , field_name , format_spec , conversion ) のイテラブルを返します。これは vformat() が文字列を文字としての文字データや置換フィールドに展開するために使用されます。...teral_text will be a zero-length string. If there is no replacement field, then the values of field_name , format_spec and conversion will be None . The value of field_name is unmodified and auto-numbering of non-numbered positional fields is done by vform...バル関数 format() を呼び出します。このメソッドは、サブクラスをオーバーライドするために提供されます。 convert_field ( value , conversion ) ¶ ( get_field() が返す) 値を ( parse() メソッドが返すタプルの形式で) 与えられた変換タイプとして変換します。デフォルトバー... - https://man.mtool.work/python/3.14/library/string.html
- string --- 一般的な文字列操作 — Python 3.14.8 ドキュメント 7458
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » テキスト処理サービス » string --- 一般的な文字列操作 テーマ 自動 ライト ダーク | string --- 一般的な文字列操作 ¶ Source code: Lib/s
...ドが定義されています。 parse ( format_string ) ¶ format_stringを探査し、タプル、 ( literal_text , field_name , format_spec , conversion ) のイテラブルを返します。これは vformat() が文字列を文字としての文字データや置換フィールドに展開するために使用されます。...teral_text will be a zero-length string. If there is no replacement field, then the values of field_name , format_spec and conversion will be None . The value of field_name is unmodified and auto-numbering of non-numbered positional fields is done by vform...バル関数 format() を呼び出します。このメソッドは、サブクラスをオーバーライドするために提供されます。 convert_field ( value , conversion ) ¶ ( get_field() が返す) 値を ( parse() メソッドが返すタプルの形式で) 与えられた変換タイプとして変換します。デフォルトバー... - https://man.mtool.work/python/3.14/library/string.html
- tomllib --- TOML ファイルの解析 — Python 3.14.8 ドキュメント 7458
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ファイルフォーマット » tomllib --- TOML ファイルの解析 テーマ 自動 ライト ダーク | tomllib --- TOML ファイルの解析 ¶ Added in versi
...ファイルを読み込みます。第1引数には読み込み可能なバイナリのファイルオブジェクトを指定します。戻り値は dict です。TOMLの型は conversion table を使用してPythonのデータ型に変換されます。 parse_float は、全てのデコードされる TOML の浮動小数点数文字列に対して呼ば...出されます。 tomllib. loads ( s , / , * , parse_float = float ) ¶ str からTOMLを読み込みます。戻り値は dict です。TOMLの型は conversion table を使用してPythonのデータ型に変換されます。 parse_float 引数は load() と同じ意味を持ちます。 無効なTOMLドキュメントの...ドキュメント 辞書 Added load dict TOMLDecodeError 属性 ローカル テーブル module parsing 参考 パッケージ 書き込み ライブラリ conversion 目次 tomllib --- TOML ファイルの解析 使用例 変換表 前のトピックへ configparser --- 設定ファイルのパーサー 次のトピックへ n... - https://man.mtool.work/python/3.14/library/tomllib.html