per page, with , order by , clip by
Results of 1 - 10 of about 53 for dumps (0.005 sec.)
json --- JSON エンコーダーとデコーダー — Python 3.14.8 ドキュメント 13068
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » json --- JSON エンコーダーとデコーダー テーマ 自動 ライト ダーク | json --- JSON エンコーダーとデコ ... al や pickle のユーザに馴染み深いものです。 基本的な Python オブジェクト階層のエンコーディング: >>> import json >>> json . dumps ([ 'foo' , { 'bar' : ( 'baz' , None , 1.0 , 2 )}]) '["foo", {"bar": ["baz", null, 1.0, 2]}]' >>> print ( json . dumps ( " ... \" foo \b ar" )) "\"foo\bar" >>> print ( json . dumps ( ' \u1234 ' )) "\u1234" >>> print ( json . dumps ( ' \\ ' )) "\\" >>> print ( json . dumps ({ "c" : 0 , "b" : 0 , "a" : 0 ... 'streaming API' ], io ) >>> io . getvalue () '["streaming API"]' コンパクトなエンコーディング: >>> import json >>> json . dumps ([ 1 , 2 , 3 , { '4' : 5 , '6' : 7 }], separators = ( ',' , ':' )) '[1,2,3,{"4":5,"6":7}]' 見やすい表示: >>> import json > ...
https://man.mtool.work/python/3.14/library/json.html
json --- JSON エンコーダーとデコーダー — Python 3.14.8 ドキュメント 13068
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » json --- JSON エンコーダーとデコーダー テーマ 自動 ライト ダーク | json --- JSON エンコーダーとデコ ... al や pickle のユーザに馴染み深いものです。 基本的な Python オブジェクト階層のエンコーディング: >>> import json >>> json . dumps ([ 'foo' , { 'bar' : ( 'baz' , None , 1.0 , 2 )}]) '["foo", {"bar": ["baz", null, 1.0, 2]}]' >>> print ( json . dumps ( " ... \" foo \b ar" )) "\"foo\bar" >>> print ( json . dumps ( ' \u1234 ' )) "\u1234" >>> print ( json . dumps ( ' \\ ' )) "\\" >>> print ( json . dumps ({ "c" : 0 , "b" : 0 , "a" : 0 ... 'streaming API' ], io ) >>> io . getvalue () '["streaming API"]' コンパクトなエンコーディング: >>> import json >>> json . dumps ([ 1 , 2 , 3 , { '4' : 5 , '6' : 7 }], separators = ( ',' , ':' )) '[1,2,3,{"4":5,"6":7}]' 見やすい表示: >>> import json > ...
https://man.mtool.work/python/3.14/library/json.html
marshal --- 内部使用向けの Python オブジェクト直列化 — Python 3.14.8 ドキュメン... 10880
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データの永続化 » marshal --- 内部使用向けの Python オブジェクト直列化 テーマ 自動 ライト ダーク | marshal --- 内部使用向けの Python ... p が使用するデータフォーマットを指定します (下記を参照してください)。 引数 value , version を指定して 監査イベント marshal.dumps を送出します。 バージョン 3.13 で変更: Added the allow_code parameter. marshal. load ( file , / , * , allow_code = True ) ... single marshal.load event for the entire load operation. バージョン 3.13 で変更: Added the allow_code parameter. marshal. dumps ( value , version = version , / , * , allow_code = True ) ¶ Return the bytes object that would be written to a file by dum ... or contains an object that has) an unsupported type. Code objects are only supported if allow_code is true. version 引数は dumps が使用するデータフォーマットを指定します (下記を参照してください)。 引数 value , version を指定して 監査イベント marshal.d ...
https://man.mtool.work/python/3.14/library/marshal.html
marshal --- 内部使用向けの Python オブジェクト直列化 — Python 3.14.8 ドキュメン... 10031
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データの永続化 » marshal --- 内部使用向けの Python オブジェクト直列化 テーマ 自動 ライト ダーク | marshal --- 内部使用向けの Python ... p が使用するデータフォーマットを指定します (下記を参照してください)。 引数 value , version を指定して 監査イベント marshal.dumps を送出します。 バージョン 3.13 で変更: Added the allow_code parameter. marshal. load ( file , / , * , allow_code = True ) ... single marshal.load event for the entire load operation. バージョン 3.13 で変更: Added the allow_code parameter. marshal. dumps ( value , version = version , / , * , allow_code = True ) ¶ Return the bytes object that would be written to a file by dum ... or contains an object that has) an unsupported type. Code objects are only supported if allow_code is true. version 引数は dumps が使用するデータフォーマットを指定します (下記を参照してください)。 引数 value , version を指定して 監査イベント marshal.d ...
https://man.mtool.work/python/3.14/library/marshal.html
plistlib --- Apple .plist ファイルを生成・解析する — Python 3.14.8 ドキュメント 9704
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ファイルフォーマット » plistlib --- Apple .plist ファイルを生成・解析する テーマ 自動 ライト ダーク | plistlib --- Apple .plist ファ ... り解析したりするには dump() や load() 関数を利用します。 バイトオブジェクトや文字列オブジェクトの plist データを扱うためには dumps() や loads() を利用します。 値は文字列、整数、浮動小数点数、ブール型、タプル、リスト、辞書 (ただし文字列だけがキーになれま ... 送出されます。 Added in version 3.4. バージョン 3.13 で変更: キーワード専用引数 aware_datetime が追加されました。 plistlib. dumps ( value , * , fmt = FMT_XML , sort_keys = True , skipkeys = False , aware_datetime = False ) ¶ value を plist 形式のバイト ... = b "<binary gunk>" , someMoreData = b "<lots of binary gunk>" * 10 , aDate = dt . datetime . now () ) print ( plistlib . dumps ( pl ) . decode ()) plist を解析します: import plistlib plist = b """<plist version="1.0"> <dict> <key>foo</key> <string>b ...
https://man.mtool.work/python/3.14/library/plistlib.html
pickle --- Python オブジェクトの直列化 — Python 3.14.8 ドキュメント 9540
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データの永続化 » pickle --- Python オブジェクトの直列化 テーマ 自動 ライト ダーク | pickle --- Python オブジェクトの直列化 ¶ ソース ... o pickle and unpickle objects on DBM-style database files. モジュールインターフェース ¶ オブジェクト階層を直列化するには、 dumps() 関数を呼ぶだけです。同様に、データストリームを復元するには、 loads() 関数を呼びます。しかし、直列化および復元に対してより ... ickle. HIGHEST_PROTOCOL ¶ 利用可能なうち最も高い プロトコルバージョン (整数)。この値は protocol 値として関数 dump() および dumps() と、 Pickler コンストラクターに渡すことができます。 pickle. DEFAULT_PROTOCOL ¶ An integer, the default protocol version ... ck は Pickler のコンストラクタと同じ意味になります。 バージョン 3.8 で変更: buffer_callback 引数が追加されました。 pickle. dumps ( obj , protocol = None , * , fix_imports = True , buffer_callback = None ) ¶ ファイルに書く代わりに、 bytes オブジェクトと ...
https://man.mtool.work/python/3.14/library/pickle.html
pickle --- Python オブジェクトの直列化 — Python 3.14.8 ドキュメント 9540
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データの永続化 » pickle --- Python オブジェクトの直列化 テーマ 自動 ライト ダーク | pickle --- Python オブジェクトの直列化 ¶ ソース ... o pickle and unpickle objects on DBM-style database files. モジュールインターフェース ¶ オブジェクト階層を直列化するには、 dumps() 関数を呼ぶだけです。同様に、データストリームを復元するには、 loads() 関数を呼びます。しかし、直列化および復元に対してより ... ickle. HIGHEST_PROTOCOL ¶ 利用可能なうち最も高い プロトコルバージョン (整数)。この値は protocol 値として関数 dump() および dumps() と、 Pickler コンストラクターに渡すことができます。 pickle. DEFAULT_PROTOCOL ¶ An integer, the default protocol version ... ck は Pickler のコンストラクタと同じ意味になります。 バージョン 3.8 で変更: buffer_callback 引数が追加されました。 pickle. dumps ( obj , protocol = None , * , fix_imports = True , buffer_callback = None ) ¶ ファイルに書く代わりに、 bytes オブジェクトと ...
https://man.mtool.work/python/3.14/library/pickle.html
plistlib --- Apple .plist ファイルを生成・解析する — Python 3.14.8 ドキュメント 8856
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ファイルフォーマット » plistlib --- Apple .plist ファイルを生成・解析する テーマ 自動 ライト ダーク | plistlib --- Apple .plist ファ ... り解析したりするには dump() や load() 関数を利用します。 バイトオブジェクトや文字列オブジェクトの plist データを扱うためには dumps() や loads() を利用します。 値は文字列、整数、浮動小数点数、ブール型、タプル、リスト、辞書 (ただし文字列だけがキーになれま ... 送出されます。 Added in version 3.4. バージョン 3.13 で変更: キーワード専用引数 aware_datetime が追加されました。 plistlib. dumps ( value , * , fmt = FMT_XML , sort_keys = True , skipkeys = False , aware_datetime = False ) ¶ value を plist 形式のバイト ... = b "<binary gunk>" , someMoreData = b "<lots of binary gunk>" * 10 , aDate = dt . datetime . now () ) print ( plistlib . dumps ( pl ) . decode ()) plist を解析します: import plistlib plist = b """<plist version="1.0"> <dict> <key>foo</key> <string>b ...
https://man.mtool.work/python/3.14/library/plistlib.html
faulthandler --- Python トレースバックをダンプする — Python 3.14.8 ドキュメント 7680
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Debugging and Profiling » faulthandler --- Python トレースバックをダンプする テーマ 自動 ライト ダーク | faulthandler --- Python ト ... mped C stack. C Stack Compatibility ¶ If the system does not support the C-level backtrace(3) or dladdr1(3) , then C stack dumps will not work. An error will be printed instead of the stack. Additionally, some compilers do not support CPython's implem ... entation of C stack dumps. As a result, a different error may be printed instead of the stack, even if the operating system supports dumping stacks. ... in>", line 1 in <module> Current thread's C stack trace (most recent call first): Binary file "/opt/python/python", at _Py_DumpStack+0x42 [0x5b27f7d7147e] Binary file "/opt/python/python", at +0x32dcbd [0x5b27f7d85cbd] Binary file "/opt/python/python" ...
https://man.mtool.work/python/3.14/library/faulthandler.html
faulthandler --- Python トレースバックをダンプする — Python 3.14.8 ドキュメント 7680
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Debugging and Profiling » faulthandler --- Python トレースバックをダンプする テーマ 自動 ライト ダーク | faulthandler --- Python ト ... mped C stack. C Stack Compatibility ¶ If the system does not support the C-level backtrace(3) or dladdr1(3) , then C stack dumps will not work. An error will be printed instead of the stack. Additionally, some compilers do not support CPython's implem ... entation of C stack dumps. As a result, a different error may be printed instead of the stack, even if the operating system supports dumping stacks. ... in>", line 1 in <module> Current thread's C stack trace (most recent call first): Binary file "/opt/python/python", at _Py_DumpStack+0x42 [0x5b27f7d7147e] Binary file "/opt/python/python", at +0x32dcbd [0x5b27f7d85cbd] Binary file "/opt/python/python" ...
https://man.mtool.work/python/3.14/library/faulthandler.html
PREV 1 2 3 4 5 6 NEXT