Python 3.6.5 ドキュメント 検索
Results of 1 - 7 of about 7 for converter (0.006 sec.)
- Argument Clinic How-To — Python 3.6.5 ドキュメント 13486
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Argu
...する場合は、あとで出てくるもっと強力な機能 ("return converter" や "self converter" など) を使った変換をする必要が...parameter lines is as follows: name_of_parameter: converter If the parameter has a default value, add that aft...er the converter: name_of_parameter: converter = default_value Argu.... Add a blank line below the parameters. What's a "converter"? It establishes both the type of the variable use... - https://man.plustar.jp/python/howto/clinic.html - [similar]
- 引数の解釈と値の構築 — Python 3.6.5 ドキュメント 8869
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...言語の文字列に変換したい場合は、 O& フォーマットを、 converter に PyUnicode_FSConverter() を指定して利用すると良い...はない場合、 TypeError を送出します。 O& (object) [ converter , anything ] Python オブジェクトを converter 関数を...C 変数へのアドレスを void * 型に変換したものです。 converter は以下のようにして呼び出されます: status = convert...失敗した場合には 0 になります。変換に失敗した場合、 converter 関数は address の内容を変更せずに例外を送出しなくて... - https://man.plustar.jp/python/c-api/arg.html - [similar]
- 12.6. sqlite3 --- SQLite データベースに対する DB-API 2.0 インタフェース — Pytho... 8506
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...りません。 detect_types パラメータおよび、 register_converter() 関数でモジュールレベルで登録できるカスタム 変換関...uri パラメータが追加されました。 sqlite3. register_converter ( typename , callable ) ¶ Registers a callable to...の型を SQLite に格納することです。もう一つは変換関数(converter)を通じて sqlite3 モジュールに SQLite の型を違った...trip)の変換ができる必要があります。 そこで変換関数(converter)です。 Point クラスの例に戻りましょう。x, y 座標を... - https://man.plustar.jp/python/library/sqlite3.html - [similar]
- Unicode オブジェクトと codec — Python 3.6.5 ドキュメント 8342
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...e names to bytes during argument parsing, the "O&" converter should be used, passing PyUnicode_FSConverter() as...the conversion function: int PyUnicode_FSConverter ( PyObject * obj , void* result ) ¶ ParseTuple con...ile names to str during argument parsing, the "O&" converter should be used, passing PyUnicode_FSDecoder() as t...der ( PyObject * obj , void* result ) ¶ ParseTuple converter: decode bytes objects -- obtained either directly... - https://man.plustar.jp/python/c-api/unicode.html - [similar]
- Logging HOWTO — Python 3.6.5 ドキュメント 8124
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Logg
...ンスタンスに対してこれを変更するには、インスタンスの converter 属性を time.localtime() や time.gmtime() と同じ署名...ング時刻を GMT で表示するには、フォーマッタクラスの converter 属性を (GMT 表示の time.gmtime に) 設定してください... - https://man.plustar.jp/python/howto/logging.html - [similar]
- 16.6. logging --- Python 用ロギング機能 — Python 3.6.5 ドキュメント 8124
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...フォーマッタインスタンスに対してこれを変更するには、 converter 属性を time.localtime() や time.gmtime() と同じ署名...ギング時刻を GMT で表示するには、 Formatter クラスの converter 属性を設定してください。 バージョン 3.3 で変更: Pr... - https://man.plustar.jp/python/library/logging.html - [similar]
- Logging クックブック — Python 3.6.5 ドキュメント 8088
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Logg
...t time class UTCFormatter ( logging . Formatter ): converter = time . gmtime そしてコード中で UTCFormatter を F...t time class UTCFormatter ( logging . Formatter ): converter = time . gmtime LOGGING = { 'version' : 1 , 'disab... - https://man.plustar.jp/python/howto/logging-cookbook.html - [similar]
PREV
1
NEXT
