Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 41 - 50 of about 214 for FILE (0.015 sec.)
8. エラーと例外 — Python 3.6.5 ドキュメント 5643
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア ... 一つでしょう: >>> while True print ( 'Hello world' ) File "<stdin>" , line 1 while True print ( 'Hello world ... 10 * ( 1 / 0 ) Traceback (most recent call last): File "<stdin>" , line 1 , in <module> ZeroDivisionError ... >> 4 + spam * 3 Traceback (most recent call last): File "<stdin>" , line 1 , in <module> NameError : name ... ned >>> '2' + 2 Traceback (most recent call last): File "<stdin>" , line 1 , in <module> TypeError : Can't ...
https://man.plustar.jp/python/tutorial/errors.html - [similar]
What's New In Python 3.5 — Python 3.6.5 ドキュメント 5643
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... %b!' % 'World' Traceback (most recent call last): File "<stdin>" , line 1 , in <module> TypeError : %b re ... ァイル (ディレクトリを除く) を表示します。 entry.is_file() を呼び出しても、通常は追加のシステムコールは行わ ... t entry . name . startswith ( '.' ) and entry . is_file (): print ( entry . name ) 参考 PEP 471 -- os.scan ... te() , pread() , pwrite() , read() , readv() , sendfile() , wait3() , wait4() , wait() , waitid() , waitpi ...
https://man.plustar.jp/python/whatsnew/3.5.html - [similar]
16.8. logging.handlers --- ロギングハンドラ — Python 3.6.5 ドキュメント 5601
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... なお、これらのハンドラのうち、3 つ ( StreamHandler , FileHandler および NullHandler ) は、実際には logging モ ... ys.stdout , sys.stderr あるいは何らかのファイル風 (file-like) オブジェクト (あるいは、より正確に言えば wri ... 号は '\n' としてハードコードされていました。 16.8.2. FileHandler ¶ logging コアパッケージに含まれる FileHand ... StreamHandler から継承しています。 class logging. FileHandler ( filename , mode='a' , encoding=None , del ...
https://man.plustar.jp/python/library/logging.handlers.html - [similar]
29.6. contextlib --- with 文コンテキスト用ユーティリティ — Python 3.6.5 ドキュ... 5527
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ば: from contextlib import suppress with suppress ( FileNotFoundError ): os . remove ( 'somefile.tmp' ) wit ... h suppress ( FileNotFoundError ): os . remove ( 'someotherfile.tmp' ... ) これは以下と等価です: try : os . remove ( 'somefile.tmp' ) except FileNotFoundError : pass try : os . ... remove ( 'someotherfile.tmp' ) except FileNotFoundError : pass このコンテキ ...
https://man.plustar.jp/python/library/contextlib.html - [similar]
36.2. imp --- import 内部へのアクセス — Python 3.6.5 ドキュメント 5527
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... りません)。 検索が成功すれば、戻り値は3要素のタプル (file, pathname, description) です: file は先頭に位置合わ ... ジュールがファイルとして存在していなければ、返された file は None で、 pathname は空文字列、 description タプ ... ることを示唆します。 モジュールがパッケージならば、 file は None で、 pathname はパッケージのパスで descrip ... ションを参照してください。 imp. load_module ( name , file , pathname , description ) ¶ find_module() を使って ...
https://man.plustar.jp/python/library/imp.html - [similar]
16.1. os --- 雑多なオペレーティングシステムインタフェース — Python 3.6.5 ドキュ... 5527
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... えられたすべてのファイルから行を読み込んでいくには、 fileinput モジュールを参照してください。一時ファイルや一 ... 時ディレクトリの作成については、 tempfile モジュールを参照してください。高水準のファイルとデ ... イルシステムのエンコーディングを使用します ( sys.getfilesystemencoding() 参照)。 バージョン 3.1 で変更: 一部 ... ばれることになります。 Unix では、キーと値に sys.getfilesystemencoding() 、エラーハンドラーに 'surrogateesc ...
https://man.plustar.jp/python/library/os.html - [similar]
9. トップレベル要素 — Python 3.6.5 ドキュメント 5443
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ ... orms: with the -c string command line option, as a file passed as the first command line argument, or as s ... tandard input. If the file or standard input is a tty device, the interpreter ... nters interactive mode; otherwise, it executes the file as a complete program. 9.2. ファイル入力 ¶ 非対話的 ... なファイルから読み出された入力は、全て同じ形式: file_input ::= (NEWLINE | statement )* をとります。この ...
https://man.plustar.jp/python/reference/toplevel_components.html - [similar]
用語集 — Python 3.6.5 ドキュメント 5401
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » 用語集 ¶ >>> インタ ... thon の作者、 Guido van Rossum のことです。 binary file (バイナリファイル) bytes-like オブジェクト の読み込 ... fer 、 sys.stdout.buffer 、 io.BytesIO や gzip.GzipFile . のインスタンスです。 参考 A text file reads and ... の短縮形の名称です。 PEP 498 も参照してください。 file object (ファイルオブジェクト) 下位のリソースへのフ ... へのアクセスを媒介できます。ファイルオブジェクトは file-like objects や streams とも呼ばれます。 ファイルオ ...
https://man.plustar.jp/python/glossary.html - [similar]
18.6. asyncore --- 非同期ソケットハンドラ — Python 3.6.5 ドキュメント 5401
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... at.async_chat を利用してください。 class asyncore. file_dispatcher ¶ file_dispatcher はファイルデスクリプタ ... にラップします。与えられたファイルオブジェクトなどが fileno() メソッドを持っているとき、そのメソッドが呼び出 ... されて戻り値が file_wrapper のコンストラクタに渡されます。利用できるプ ... ラットフォーム: UNIX。 class asyncore. file_wrapper ¶ file_wrapper は整数のファイルデスクリプタ ...
https://man.plustar.jp/python/library/asyncore.html - [similar]
16.2. io --- ストリームを扱うコアツール — Python 3.6.5 ドキュメント 5401
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... らのいずれかのカテゴリに属する具象オブジェクトは全て file object と呼ばれます。他によく使われる用語として ス ... トリーム と file-like オブジェクト があります。 それぞれの具象ストリ ... 指定して、 open() を利用することです: f = open ( "myfile.txt" , "r" , encoding = "utf-8" ) StringIO オブジェ ... ode 文字列に 'b' を指定することです: f = open ( "myfile.jpg" , "rb" ) BytesIO はインメモリーのバイナリスト ...
https://man.plustar.jp/python/library/io.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 13 14 NEXT