Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 21 - 30 of about 128 for FORMAT (0.063 sec.)
What's New In Python 3.1 — Python 3.6.5 ドキュメント 6727
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... PEP 378: 1000区切りのための書式指定子 ¶ 組み込みの format() 関数と str.format() メソッドが使うミニ言語に、単 ... 善してひとさまにとって読みやすいものに出来ます: >>> format ( 1234567 , ',d' ) '1,234,567' >>> format ( 123456 ... 7.89 , ',.2f' ) '1,234,567.89' >>> format ( 12345.6 + 8901234.12 j , ',f' ) '12,345.600000+8 ... ,901,234.120000j' >>> format ( Decimal ( '1234567.89' ), ',f' ) '1,234,567.89' ...
https://man.plustar.jp/python/whatsnew/3.1.html - [similar]
What's New In Python 3.2 — Python 3.6.5 ドキュメント 6727
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... 以下は設定辞書の動作する実例です: { "version" : 1 , "formatters" : { "brief" : { "format" : " %(levelname)-8s ... : %(name)-15s : %(message)s " }, "full" : { "format" : " %(asctime)s %(name)-15s %(levelname)-8s %(mes ... "console" : { "class" : "logging.StreamHandler" , "formatter" : "brief" , "level" : "INFO" , "stream" : "ext ... priority" : { "class" : "logging.StreamHandler" , "formatter" : "full" , "level" : "ERROR" , "stream" : "ext ...
https://man.plustar.jp/python/whatsnew/3.2.html - [similar]
23.2. locale --- 国際化サービス — Python 3.6.5 ドキュメント 6678
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... スを順序付けて並べる際に使うことができます。 locale. format ( format , val , grouping=False , monetary=False ) ... ことに注意しましょう。フォーマット文字列を使う場合は format_string() を使用します。 locale. format_string ( fo ... rmat , val , grouping=False ) ¶ format % val 形式のフォーマット指定子を、現在のロケール設 ... ¶ 数字を書式化するためのロケールカテゴリです。関数 format() 、 atoi() 、 atof() および locale モジュールの s ...
https://man.plustar.jp/python/library/locale.html - [similar]
オペレーティングシステム関連のユーティリティ — Python 3.6.5 ドキュメント 6617
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... ばなりません。 void PySys_WriteStdout ( const char *format , ... ) ¶ format で指定された出力文字列を sys.stdo ... 起こった場合を含め、例外は一切発生しません (後述)。 format は、フォーマット後の出力文字列のトータルの大きさを ... 出力されます。 void PySys_WriteStderr ( const char *format , ... ) ¶ PySys_WriteStdout() と同じですが、 sys.s ... tderr もしくは stderr に出力します。 void PySys_FormatStdout ( const char *format , ... ) ¶ PySys_WriteSt ...
https://man.plustar.jp/python/c-api/sys.html - [similar]
What's New in Python 2.7 — Python 3.6.5 ドキュメント 6617
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... そのため、シンプルなカンマによるグループ化機構が str.format() メソッドのミニ言語に追加されました。浮動小数点数 ... カンマを幅と精度の間に置きます。 >>> ' {:20,.2f} ' . format ( 18446744073709551616.0 ) '18,446,744,073,709,551 ... 合は、幅の後にカンマを追加します。 >>> ' {:20,d} ' . format ( 18446744073709551616 ) '18,446,744,073,709,551,6 ... # Configuration schema in use; must be 1 for now 'formatters' : { 'standard' : { 'format' : ( ' %(asctime)s ...
https://man.plustar.jp/python/whatsnew/2.7.html - [similar]
21.22. http.server --- HTTP サーバ — Python 3.6.5 ドキュメント 6556
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... っています。例えば 'Python/1.4' です。 error_message_format ¶ Specifies a format string that should be used by ... in argument can be used to provide more detailed information about the error; it will be formatted using the ... error_message_format attribute and emitted, after a complete set of hea ... セージを log_message() に渡します。従って同じ引数 ( format と追加の値) を取ります。 log_message ( format , .. ...
https://man.plustar.jp/python/library/http.server.html - [similar]
4. 組み込み型 — Python 3.6.5 ドキュメント 6495
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... します。一方は柔軟さが高くカスタマイズできます ( str.format() 、 書式指定文字列の文法 、および カスタムの文字列 ... 算子を使ってください: >>> 'Py' in 'Python' True str. format ( *args , **kwargs ) ¶ 文字列の書式化操作を行います ... 字列のコピーです。 >>> "The sum of 1 + 2 is {0} " . format ( 1 + 2 ) 'The sum of 1 + 2 is 3' 書式指定のオプシ ... float とサブクラス) を n の整数表現型 (例: '{:n}'.format(1234) ) でフォーマットするとき、 LC_CTYPE ロケール ...
https://man.plustar.jp/python/library/stdtypes.html - [similar]
What's New In Python 3.6 — Python 3.6.5 ドキュメント 6495
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... vironment lookup. See the documentation for more information. A python36.zip file now works as a landmark to ... nfer PYTHONHOME . See the documentation for more information. 新しい機能 ¶ PEP 498: フォーマット済み文字列リ ... 済み文字列リテラルはプレフィックスに 'f' をとり str.format() による書式文字列に似ています。これらには中括弧で ... があります。置換フィールドは実行時に評価される式で、 format() プロトコルによってフォーマットされます: >>> name ...
https://man.plustar.jp/python/whatsnew/3.6.html - [similar]
引数の解釈と値の構築 — Python 3.6.5 ドキュメント 6385
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... rds() ,および PyArg_Parse() はいずれも 書式文字列 (format string) を使います。書式文字列は、関数が受け取るは ... ¶ 書式文字列は、ゼロ個またはそれ以上の "書式単位 (format unit)" から成り立ちます。 1つの書式単位は1つの Pyt ... nt PyArg_ParseTuple ( PyObject *args , const char *format , ... ) ¶ 位置引数のみを引数にとる関数のパラメタを ... 。 int PyArg_VaParse ( PyObject *args , const char *format , va_list vargs ) ¶ PyArg_ParseTuple() と同じですが ...
https://man.plustar.jp/python/c-api/arg.html - [similar]
例外処理 — Python 3.6.5 ドキュメント 6385
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... ジェクトを指定することができます。 PyObject * PyErr_Format ( PyObject *exception , const char *format , ... ) ... ます。 exception はPython例外クラスであるべきです。 format と以降の引数はエラーメッセージを作るためのもので, ... PyUnicode_FromFormat() の引数と同じ意味を持っています。 format は ASCII ... エンコードされた文字列です。 PyObject * PyErr_FormatV ( PyObject *exception , const char *format , va_l ...
https://man.plustar.jp/python/c-api/exceptions.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 NEXT