Python 3.6.5 ドキュメント 検索
Results of 11 - 20 of about 59 for decode (0.022 sec.)
- 19.9. quopri --- MIME quoted-printable 形式データのエンコードおよびデコード — P... 8009
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
ーディングのほうがよりコンパクトになります。 quopri. decode ( input , output , header=False ) ¶ ファイル input...
e encoded as underscores as per RFC 1522 . quopri. decodestring ( s , header=False ) ¶ decode() に似ています...
- https://man.plustar.jp/python/library/quopri.html - [similar]
- 18.5.5. ストリーム (コルーチンベースの API) — Python 3.6.5 ドキュメント 7878
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
er . read ( 100 ) print ( 'Received: %r ' % data . decode ()) print ( 'Close the socket' ) writer . close ()...
yield from reader . read ( 100 ) message = data . decode () addr = writer . get_extra_info ( 'peername' ) p...
er . readline () if not line : break line = line . decode ( 'latin1' ) . rstrip () if line : print ( 'HTTP h...
one: close the socket print ( "Received:" , data . decode ()) writer . close () # Close the second socket ws...
- https://man.plustar.jp/python/library/asyncio-stream.html - [similar]
- 19.1.15. email.iterators: イテレータ — Python 3.6.5 ドキュメント 7878
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
します。 email.iterators. body_line_iterator ( msg , decode=False ) ¶ このイテレータは msg 中のすべてのサブパー...
のにいくぶん似ているかもしれません。 オプション引数 decode は、 Message.get_payload にそのまま渡されます。 em...
- https://man.plustar.jp/python/library/email.iterators.html - [similar]
- 18.5.4. Transports and protocols (callback based API) — Python 3.6.5 ドキュメン... 7761
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
: print ( 'Data received: {!r} ' . format ( data . decode ())) def connection_lost ( self , exc ): print ( '...
ef data_received ( self , data ): message = data . decode () print ( 'Data received: {!r} ' . format ( messa...
self , data , addr ): print ( "Received:" , data . decode ()) print ( "Close the socket" ) self . transport...
_received ( self , data , addr ): message = data . decode () print ( 'Received %r from %s ' % ( message , ad...
- https://man.plustar.jp/python/library/asyncio-protocol.html - [similar]
- 32.7. tokenize --- Pythonソースのためのトークナイザ — Python 3.6.5 ドキュメント 7761
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
¶ Token value that indicates the encoding used to decode the source bytes into text. The first token return...
used to detect the encoding that should be used to decode a Python source file. It requires one argument, re...
toknum , tokval )) return untokenize ( result ) . decode ( 'utf-8' ) コマンドラインからトークナイズする例。...
- https://man.plustar.jp/python/library/tokenize.html - [similar]
- Unicode オブジェクトと codec — Python 3.6.5 ドキュメント 7630
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...
トをデコードするのに使えます。 PyObject * PyUnicode_DecodeLocaleAndSize ( const char *str , Py_ssize_t len ,...
らず、 null 文字を含めることはできません。 PyUnicode_DecodeFSDefaultAndSize() を使って (Python の起動時に読み込...
DefaultEncoding の文字列をデコードします。 参考 Py_DecodeLocale() 関数。 バージョン 3.3 で追加. バージョン 3...
the surrogateescape error handler. Previously, Py_DecodeLocale() was used for the surrogateescape , and the...
- https://man.plustar.jp/python/c-api/unicode.html - [similar]
- 19.1.9. email.message.Message: Representing an email message using the compat32 ... 7630
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
lated make and add methods. get_payload ( i=None , decode=False ) ¶ 現在のペイロードへの参照を返します。これ...
が与えられたときは TypeError が発生します。 Optional decode is a flag indicating whether the payload should be...
decoded or not, according to the Content-Transfer-Encodin...
he message is not a multipart, the payload will be decoded if this header's value is quoted-printable or bas...
- https://man.plustar.jp/python/library/email.compat32-message.html - [similar]
- 21.6. urllib.request --- URL を開くための拡張可能なライブラリ — Python 3.6.5 ド... 7630
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
thon.org/' ) as f : ... print ( f . read ( 100 ) . decode ( 'utf-8' )) ... <!DOCTYPE html PUBLIC "-//W3C//DT...
/www.python.org/' ) >>> print ( f . read ( 100 ) . decode ( 'utf-8' )) <!DOCTYPE html PUBLIC "-//W3C//DTD XH...
. urlopen ( req ) as f : ... print ( f . read () . decode ( 'utf-8' )) ... Got Data: "This data is passed to...
. urlopen ( url ) as f : ... print ( f . read () . decode ( 'utf-8' )) ... 以下の例では、 POST メソッドを使用...
- https://man.plustar.jp/python/library/urllib.request.html - [similar]
- codec レジストリとサポート関数 — Python 3.6.5 ドキュメント 7498
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...
合は LookupError を発生させます。 PyObject * PyCodec_Decode ( PyObject *object , const char *encoding , const...
ng のエンコーダ関数を返します。 PyObject * PyCodec_Decoder ( const char *encoding ) ¶ 与えられた encoding の...
ブジェクトを返します。 PyObject * PyCodec_IncrementalDecoder ( const char *encoding , const char *errors ) ¶ 与...
えられた encoding の IncrementalDecoder オブジェクトを返します。 PyObject * PyCodec_Strea...
- https://man.plustar.jp/python/c-api/codec.html - [similar]
- What's New In Python 3.4 — Python 3.6.5 ドキュメント 7382
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...
、今ではコンビニエンス関数 codecs.encode() , codecs.decode() が Python 2.7、3.3、3.4 で適切にドキュメントされ...
ビニエンス関数へユーザを誘導します: >>> b "abcdef" . decode ( "hex" ) Traceback (most recent call last): File...
upError : 'hex' is not a text encoding; use codecs.decode() to handle arbitrary codecs >>> "hello" . encode...
鎖例外内に包まれます: >>> import codecs >>> codecs . decode ( b "abcdefgh" , "hex" ) Traceback (most recent ca...
- https://man.plustar.jp/python/whatsnew/3.4.html - [similar]