Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 135 for bytes (0.032 sec.)
19.1.3. email.generator: MIME 文書の生成 — Python 3.6.5 ドキュメント 7522
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... il messages just fine, and is designed so that the bytes-oriented parsing and generation operations are inv ... is used for both. That is, parsing the serialized byte stream via the BytesParser class and then regenerat ... ing the serialized byte stream using BytesGenerator should produce output i ... that are not "8 bit clean". class email.generator. BytesGenerator ( outfp , mangle_from_=None , maxheaderle ...
https://man.plustar.jp/python/library/email.generator.html - [similar]
Python 2 から Python 3 への移植 — Python 3.6.5 ドキュメント 7473
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Pyth ... な等価性を持つように Python 3 からバックポートされた bytes 型のように、Python 2 に取り込まれた Python 3 のイデ ... and those that work with binary data work with the bytes type from Python 3 (which is a subset of str in Py ... thon 2 and acts as an alias for bytes type in Python 2). Usually the biggest issue is re ... hon 2 and str in Python 3, for binary that's str / bytes in Python 2 and bytes in Python 3). The following ...
https://man.plustar.jp/python/howto/pyporting.html - [similar]
16.2. io --- ストリームを扱うコアツール — Python 3.6.5 ドキュメント 7161
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 生させます。テキストストリームの write() メソッドに bytes オブジェクトを渡しても同じです。 バージョン 3.3 で ... ¶ バイナリー I/O ( buffered I/O とも呼ばれます) は bytes-like オブジェクト を受け取り bytes オブジェクトを生 ... を指定することです: f = open ( "myfile.jpg" , "rb" ) BytesIO はインメモリーのバイナリストリームです: f = io . ... BytesIO ( b "some initial binary data: \x00\x01 " ) バイ ...
https://man.plustar.jp/python/library/io.html - [similar]
18.1. socket --- 低水準ネットワークインターフェイス — Python 3.6.5 ドキュメント 7112
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... の抽象名前空間のアドレスは、先頭が null バイトとなる bytes-like object として返されます。この名前空間のソケッ ... のアドレスを扱う必要がある可能性があります。文字列と bytes-like オブジェクトはどちらのタイプのアドレスにも引数 ... れていました。 バージョン 3.5 で変更: 書き込み可能な bytes-like object を使用できるようになりました。 AF_INET ... で、 bdaddr は Bluetooth アドレスを文字列形式で持つ bytes オブジェクトです (例: b'12:23:34:45:56:67' )。この ...
https://man.plustar.jp/python/library/socket.html - [similar]
What's New In Python 3.0 — Python 3.6.5 ドキュメント 6908
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... キストを保持するのに使われる型は str で、データには bytes を使います。2.x での状況との最大の違いは、Python 3 ... n 3.3 で再び使えるようになりました。 ---) str 型と bytes 型を混ぜて使うことは出来ませんから、それらはいつで ... も明示的に変換しなければいけません。 str から bytes にするには str.encode() を使ってください。そして b ... ytes から str にするには bytes.decode() を使います。それぞれ bytes(s, encoding=.. ...
https://man.plustar.jp/python/whatsnew/3.0.html - [similar]
13.4. lzma --- LZMA アルゴリズムを使用した圧縮 — Python 3.6.5 ドキュメント 6848
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ァイルをオープンする際には実際のファイル名 ( str 、 bytes 、または path-like オブジェクトとして指定します)か ... クトかオープンするファイル名 ( str オブジェクトま、 bytes オブジェクト、または path-like オブジェクト) を指定 ... 指定 を参照してください。 compress ( data ) ¶ data ( bytes オブジェクト) を圧縮し、少なくともその一部が圧縮さ ... れたデータを格納する bytes オブジェクトを返します。 data の一部は、後で compr ...
https://man.plustar.jp/python/library/lzma.html - [similar]
26.1. typing --- 型ヒントのサポート — Python 3.6.5 ドキュメント 6848
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 'T' ) # Can be anything A = TypeVar ( 'A' , str , bytes ) # Must be str or bytes 型変数は主として静的型検査 ... 後者の例のシグネチャは本質的に (str, str) -> str と (bytes, bytes) -> bytes のオーバーロードです。もし引数が ... omplex__ を備えた ABC です。 class typing. SupportsBytes ¶ 抽象メソッド __bytes__ を備えた ABC です。 class ... tableSequence のジェネリック版です。 class typing. ByteString ( Sequence[int] ) ¶ collections.abc.ByteStrin ...
https://man.plustar.jp/python/library/typing.html - [similar]
11.6. tempfile --- 一時ファイルやディレクトリの作成 — Python 3.6.5 ドキュメント 6799
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... リかテキスト mode が指定されたかどうかに依存して) io.BytesIO か io.StringIO オブジェクト、あるいは rollover() ... e でない場合、それらは同じ型でなければなりません。 bytes の場合、返された名前は str でなはく bytes です。 他 ... の挙動はデフォルトで返り値を bytes に強制的にしたい場合は suffix=b'' を渡してください ... バージョン 3.5 で変更: suffix 、 prefix 、 dir は bytes の返り値を得るために bytes で渡すことが出来ます。 ...
https://man.plustar.jp/python/library/tempfile.html - [similar]
What's New In Python 3.5 — Python 3.6.5 ドキュメント 6703
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... リケーションのサポートの改善 。 新たな組み込み機能: bytes % args , bytearray % args : PEP 461 -- bytes と by ... tearray に % 書式化を追加。 新たな bytes.hex() , bytearray.hex() memoryview.hex() メソッド。 ... dhar, Thomas Wouters, and Joshua Landau. PEP 461 - bytes および bytearray のパーセント書式化サポート ¶ PEP ... 461 によって、 bytes と bytearray に % 補間演算子 のサポートが追加されま ...
https://man.plustar.jp/python/whatsnew/3.5.html - [similar]
22.2. aifc --- AIFFおよびAIFCファイルの読み書き — Python 3.6.5 ドキュメント 6643
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ィオファイルで使用されている圧縮形式を示す4バイトの bytes を返します。AIFFファイルでは b'NONE' が返されます。 ... ィオファイルの圧縮形式を人に判読可能な形に変換できる bytes で返します。AIFFファイルでは b'not compressed' が返 ... できません。name 引数は人間が読める圧縮形式の説明を bytes にしたもので、type 引数は4バイトの bytes でなければ ... 呼び出し可能です。 バージョン 3.4 で変更: どのような bytes-like object も使用できるようになりました。 aifc. w ...
https://man.plustar.jp/python/library/aifc.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 NEXT