Results of 1 - 10 of about 290 for encoding (0.035 sec.)
- codecs --- codec レジストリと基底クラス — Python 3.14.8 ドキュメント 8966
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » バイナリデータ処理 » codecs --- codec レジストリと基底クラス テーマ 自動 ライト ダーク | codecs --- codec レジストリと基底クラス ¶
...このモジュールでは、任意の codec でエンコードやデコードを行うための、以下の関数が定義されています。 codecs. encode ( obj , encoding = 'utf-8' , errors = 'strict' ) ¶ encoding に記載された codec を使用して obj をエンコードします。 希望のエラー処理スキーム...ることを意味します。codec エラー処理についてのより詳しい情報は Codec 基底クラス を参照してください。 codecs. decode ( obj , encoding = 'utf-8' , errors = 'strict' ) ¶ encoding に記載された codec を使用して obj をデコードします。 希望のエラー処理スキームを...てのより詳しい情報は Codec 基底クラス を参照してください。 codecs. charmap_build ( string ) ¶ Return a mapping suitable for encoding with a custom single-byte encoding. Given a str string of up to 256 characters representing a decoding table, returns eith... - https://man.mtool.work/python/3.14/library/codecs.html
- codecs --- codec レジストリと基底クラス — Python 3.14.8 ドキュメント 8966
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » バイナリデータ処理 » codecs --- codec レジストリと基底クラス テーマ 自動 ライト ダーク | codecs --- codec レジストリと基底クラス ¶
...このモジュールでは、任意の codec でエンコードやデコードを行うための、以下の関数が定義されています。 codecs. encode ( obj , encoding = 'utf-8' , errors = 'strict' ) ¶ encoding に記載された codec を使用して obj をエンコードします。 希望のエラー処理スキーム...ることを意味します。codec エラー処理についてのより詳しい情報は Codec 基底クラス を参照してください。 codecs. decode ( obj , encoding = 'utf-8' , errors = 'strict' ) ¶ encoding に記載された codec を使用して obj をデコードします。 希望のエラー処理スキームを...てのより詳しい情報は Codec 基底クラス を参照してください。 codecs. charmap_build ( string ) ¶ Return a mapping suitable for encoding with a custom single-byte encoding. Given a str string of up to 256 characters representing a decoding table, returns eith... - https://man.mtool.work/python/3.14/library/codecs.html
- io --- ストリームを扱うコアツール — Python 3.14.8 ドキュメント 8707
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » io --- ストリームを扱うコアツール テーマ 自動 ライト ダーク | io --- ストリームを扱うコアツー
...を作る一番簡単な方法は、オプションでエンコーディングを指定して、 open() を利用することです: f = open ( "myfile.txt" , "r" , encoding = "utf-8" ) StringIO オブジェクトはインメモリーのテキストストリームです: f = io . StringIO ( "some initial text data" ) 注...bytes provided (a partial write). High-level I/O objects like バイナリ I/O and テキスト I/O implement retry behavior. Text Encoding ¶ The default encoding of TextIOWrapper and open() is locale-specific ( locale.getencoding() ). However, many developers f...orget to specify the encoding when opening text files encoded in UTF-8 (e.g. JSON, TOML, Markdown, etc...) since most Unix platforms use UTF-8 locale by... - https://man.mtool.work/python/3.14/library/io.html
- io --- ストリームを扱うコアツール — Python 3.14.8 ドキュメント 8707
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » io --- ストリームを扱うコアツール テーマ 自動 ライト ダーク | io --- ストリームを扱うコアツー
...を作る一番簡単な方法は、オプションでエンコーディングを指定して、 open() を利用することです: f = open ( "myfile.txt" , "r" , encoding = "utf-8" ) StringIO オブジェクトはインメモリーのテキストストリームです: f = io . StringIO ( "some initial text data" ) 注...bytes provided (a partial write). High-level I/O objects like バイナリ I/O and テキスト I/O implement retry behavior. Text Encoding ¶ The default encoding of TextIOWrapper and open() is locale-specific ( locale.getencoding() ). However, many developers f...orget to specify the encoding when opening text files encoded in UTF-8 (e.g. JSON, TOML, Markdown, etc...) since most Unix platforms use UTF-8 locale by... - https://man.mtool.work/python/3.14/library/io.html
- codec レジストリとサポート関数 — Python 3.14.8 ドキュメント 8449
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » ユーティリティ » codec レジストリとサポート関数 テーマ 自動 ライト ダーク | codec レジストリとサポート関数 ¶ int PyCodec_Register
...earch_function ) ¶ 次に属します: Stable ABI . 新しい codec 検索関数を登録します。 As a side effect, this tries to load the encodings package, if not yet done, to make sure that it is always first in the list of search functions. int PyCodec_Unregister (...何もしません。 成功したら0を返します。 エラーの場合は例外を送出させ、-1を返します。 Added in version 3.10. int PyCodec_KnownEncoding ( const char * encoding ) ¶ 次に属します: Stable ABI . encoding のための登録された codec が存在するかどうかに応じて 1 か 0...を返します。 この関数は常に成功します。 PyObject * PyCodec_Encode ( PyObject * object , const char * encoding , const char * errors ) ¶ 戻り値: 新しい参照。 次に属します: Stable ABI . 汎用の codec ベースの encode API. encoding に応じ... - https://man.mtool.work/python/3.14/c-api/codec.html
- codec レジストリとサポート関数 — Python 3.14.8 ドキュメント 8449
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » ユーティリティ » codec レジストリとサポート関数 テーマ 自動 ライト ダーク | codec レジストリとサポート関数 ¶ int PyCodec_Register
...earch_function ) ¶ 次に属します: Stable ABI . 新しい codec 検索関数を登録します。 As a side effect, this tries to load the encodings package, if not yet done, to make sure that it is always first in the list of search functions. int PyCodec_Unregister (...何もしません。 成功したら0を返します。 エラーの場合は例外を送出させ、-1を返します。 Added in version 3.10. int PyCodec_KnownEncoding ( const char * encoding ) ¶ 次に属します: Stable ABI . encoding のための登録された codec が存在するかどうかに応じて 1 か 0...を返します。 この関数は常に成功します。 PyObject * PyCodec_Encode ( PyObject * object , const char * encoding , const char * errors ) ¶ 戻り値: 新しい参照。 次に属します: Stable ABI . 汎用の codec ベースの encode API. encoding に応じ... - https://man.mtool.work/python/3.14/c-api/codec.html
- 変更履歴 — Python 3.14.8 ドキュメント 7321
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...ored on the server object) were not affected. This addresses CVE 2026-19445 . gh-155292 : Change the stringprep module and encodings.idna codec to not consider Unicode codepoint attributes beyond those defined in RFC 3454 . gh-155694 : Fix CVE 2026-15806...r . gh-99064 : Fix xml.etree.ElementTree.parse() with a text file or other source of str data in the C implementation. The encoding declared in the document was applied to the already decoded text, which produced mojibake. It is now ignored, as when pars...MLParser.feed() or fromstring() . gh-156713 : Fix nturl2path.pathname2url() and nturl2path.url2pathname() : the filesystem encoding and error handler are now used for percent-encoding and decoding, as in urllib.request . Previously paths containing surro... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- Python 初期化設定 — Python 3.14.8 ドキュメント 7188
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Python 初期化設定 テーマ 自動 ライト ダーク | Python 初期化設定 ¶ PyInitConfig C API ¶ Added in version 3.14. Python は Py_Initia
...refix" exec_prefix str Public "executable" executable str Public "faulthandler" faulthandler bool 読み出し専用 "filesystem_encoding" filesystem_encoding str 読み出し専用 "filesystem_errors" filesystem_errors str 読み出し専用 "hash_seed" hash_seed int 読み...t_max_str_digits int Public "interactive" interactive bool Public "isolated" isolated bool 読み出し専用 "legacy_windows_fs_encoding" legacy_windows_fs_encoding bool 読み出し専用 "legacy_windows_stdio" legacy_windows_stdio bool 読み出し専用 "malloc_stats"...し専用 "site_import" site_import bool 読み出し専用 "skip_source_first_line" skip_source_first_line bool 読み出し専用 "stdio_encoding" stdio_encoding str 読み出し専用 "stdio_errors" stdio_errors str 読み出し専用 "stdlib_dir" stdlib_dir str Public "tracemal... - https://man.mtool.work/python/3.14/c-api/init_config.html
- importlib.resources -- パッケージリソースの読み取り、オープン、アクセス — Pytho... 7188
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » モジュールのインポート » importlib.resources -- パッケージリソースの読み取り、オープン、アクセス テーマ 自動 ライト ダーク | import
...y ( my_module , "pics" , "painting.png" ) For backward compatibility reasons, functions that read text require an explicit encoding argument if multiple path_names are given. For example, to get the text of info/chapter1.txt , use: importlib . resources.... read_text ( my_module , "info" , "chapter1.txt" , encoding = 'utf-8' ) importlib.resources. open_binary ( anchor , * path_names ) ¶ Open the named resource for binary reading. See t...'rb' ) バージョン 3.13 で変更: Multiple path_names are accepted. importlib.resources. open_text ( anchor , * path_names , encoding = 'utf-8' , errors = 'strict' ) ¶ Open the named resource for text reading. By default, the contents are read as strict UT... - https://man.mtool.work/python/3.14/library/importlib.resources.html
- Python 初期化設定 — Python 3.14.8 ドキュメント 7188
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Python 初期化設定 テーマ 自動 ライト ダーク | Python 初期化設定 ¶ PyInitConfig C API ¶ Added in version 3.14. Python は Py_Initia
...refix" exec_prefix str Public "executable" executable str Public "faulthandler" faulthandler bool 読み出し専用 "filesystem_encoding" filesystem_encoding str 読み出し専用 "filesystem_errors" filesystem_errors str 読み出し専用 "hash_seed" hash_seed int 読み...t_max_str_digits int Public "interactive" interactive bool Public "isolated" isolated bool 読み出し専用 "legacy_windows_fs_encoding" legacy_windows_fs_encoding bool 読み出し専用 "legacy_windows_stdio" legacy_windows_stdio bool 読み出し専用 "malloc_stats"...し専用 "site_import" site_import bool 読み出し専用 "skip_source_first_line" skip_source_first_line bool 読み出し専用 "stdio_encoding" stdio_encoding str 読み出し専用 "stdio_errors" stdio_errors str 読み出し専用 "stdlib_dir" stdlib_dir str Public "tracemal... - https://man.mtool.work/python/3.14/c-api/init_config.html