Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 125 for read (0.045 sec.)
13.5. zipfile --- ZIP アーカイブの処理 — Python 3.6.5 ドキュメント 7654
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... -like object . The mode parameter should be 'r' to read an existing file, 'w' to truncate and write a new ... rs to an existing ZIP file, then additional files are added to it. If file does not refer to a ZIP file, t ... . open ( 'eggs.txt' ) as myfile : print ( myfile . read ()) With mode 'r' the file-like object ( ZipExtFil ... e ) is read-only and provides the following methods: read() , ...
https://man.plustar.jp/python/library/zipfile.html - [similar]
7. 入力と出力 — Python 3.6.5 ドキュメント 7506
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア ... に書けます: >>> with open ( 'workfile' ) as f : ... read_data = f . read () >>> f . closed True with キーワ ... とそこで処理が失敗します。: >>> f . close () >>> f . read () Traceback (most recent call last): File "<stdin ... ものと仮定します。 ファイルの内容を読み出すには、 f.read(size) を呼び出します。このメソッドはある量のデータ ... て返します。ファイルの終端にすでに達していた場合、 f.read() は空の文字列 ( '' ) を返します。 >>> f . read () ...
https://man.plustar.jp/python/tutorial/inputoutput.html - [similar]
18.5.6. サブプロセス — Python 3.6.5 ドキュメント 7347
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ) ¶ サブプロセスを作成します。 limit 引数で StreamReader に渡すバッファリミットを設定します。他の引数につ ... シェルコマンド cmd を実行します。 limit 引数で StreamReader に渡すバッファリミットを設定します。他の引数につ ... す。 パイプに接続するには AbstractEventLoop.connect_read_pipe() および AbstractEventLoop.connect_write_pipe ... プが新しく作成され、接続されます。 stdout : connect_read_pipe() , を使用してサブプロセスの標準出力ストリーム ...
https://man.plustar.jp/python/library/asyncio-subprocess.html - [similar]
22. マルチメディアサービス — Python 3.6.5 ドキュメント 7273
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 2.3. sunau --- Sun AUファイルの読み書き 22.3.1. AU_read オブジェクト 22.3.2. AU_write オブジェクト 22.4. w ... ave --- WAVファイルの読み書き 22.4.1. Wave_read オブジェクト 22.4.2. Wave_write オブジェクト 22.5. ... ュメント , ライブラリ , 読み書き , 操作 , audioop , read 前のトピックへ 21.28. ipaddress --- IPv4/IPv6 操作 ...
https://man.plustar.jp/python/library/mm.html - [similar]
Pythonモジュール索引 — Python 3.6.5 ドキュメント 7125
ナビゲーション 索引 モジュール | Python » 3.6.5 ドキュメント » Pythonモジュール索引 _ | a | b | ... onment where the top-level script is run. _dummy_thread Drop-in replacement for the _thread module. _threa ... d Low-level threading API. a abc Abstract base classes according to P ... EP 3119. aifc Read and write audio files in AIFF or AIFC format. argp ... traceback handler for CGI scripts. chunk Module to read IFF chunks. cmath Mathematical functions for compl ...
https://man.plustar.jp/python/py-modindex.html - [similar]
18.4. selectors --- 高水準の I/O 多重化 — Python 3.6.5 ドキュメント 6831
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ール定数の組み合わせを設定できます: 定数 意味 EVENT_READ 読み込み可能 EVENT_WRITE 書き込み可能 class select ... mask ): conn , addr = sock . accept () # Should be ready print ( 'accepted' , conn , 'from' , addr ) conn ... False ) sel . register ( conn , selectors . EVENT_READ , read ) def read ( conn , mask ): data = conn . r ... ecv ( 1000 ) # Should be ready if data : print ( 'echoing' , repr ( data ), 'to' ...
https://man.plustar.jp/python/library/selectors.html - [similar]
21.6. urllib.request --- URL を開くための拡張可能なライブラリ — Python 3.6.5 ド... 6831
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... er オブジェクト ¶ DataHandler. data_open ( req ) ¶ Read a data URL. This kind of URL contains the content ... 'http://www.python.org/' ) as f : ... print ( f . read ( 300 )) ... b'<!DOCTYPE html PUBLIC "-//W3C//DTD ... 'http://www.python.org/' ) as f : ... print ( f . read ( 100 ) . decode ( 'utf-8' )) ... <!DOCTYPE html P ... lopen ( 'http://www.python.org/' ) >>> print ( f . read ( 100 ) . decode ( 'utf-8' )) <!DOCTYPE html PUBLI ...
https://man.plustar.jp/python/library/urllib.request.html - [similar]
urllib パッケージを使ってインターネット上のリソースを取得するには — Python 3.6.... 6671
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » urll ... p://python.org/' ) as response : html = response . read () If you wish to retrieve a resource via URL and ... イルライクオブジェクトで、これはつまりレスポンスに .read() と呼び出せることを意味しています: import urllib. ... rlopen ( req ) as response : the_page = response . read () urllib.request は同じリクエストインターフェース ... rlopen ( req ) as response : the_page = response . read () 他のエンコーディングが必要な場合があることに注意 ...
https://man.plustar.jp/python/howto/urllib2.html - [similar]
ライブラリと拡張 FAQ — Python 3.6.5 ドキュメント 6523
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python よくある質問 ... どうしますか? os.popen() によって作られたパイプで os.read() が使われていないようです。なぜですか? シリアル ( ... レッドを使ったプログラムを書くにはどうしますか? ¶ _thread モジュールではなく、必ず threading モジュールを使っ ... てください。 threading モジュールは、 _thread モジュールで提供される低 ... るのに十分な時間のスリープを加えることです: import threading , time def thread_task ( name , n ): for i in r ...
https://man.plustar.jp/python/faq/library.html - [similar]
22.5. chunk --- IFFチャンクデータの読み込み — Python 3.6.5 ドキュメント 6523
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... スタンスは特別に許可されます。唯一の必要なメソッドは read() です。メソッド seek() および tell() が存在し、例 ... 能です。 tell ( ) ¶ チャンク内の現在位置を返します。 read ( size=-1 ) ¶ チャンクから最大で size バイト読み込 ... ( ) ¶ チャンクの最後まで飛びます。さらにチャンクの read() を呼び出すと、 b'' が返されます。もしチャンクの内 ...
https://man.plustar.jp/python/library/chunk.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 NEXT